pub(crate) struct UntrackedLintReport {
pub(crate) total: usize,
pub(crate) allowed: usize,
pub(crate) disallowed: Vec<String>,
pub(crate) disallowed_extension_counts: BTreeMap<String, usize>,
pub(crate) allowed_extension_counts: BTreeMap<String, usize>,
pub(crate) asset_roots_present: usize,
pub(crate) assets_outside_roots: Vec<String>,
pub(crate) excluded_paths_present: usize,
pub(crate) strict: bool,
}Expand description
Typed untracked-file lint inventory.
Fields§
§total: usizeTotal untracked non-source files found.
allowed: usizeFiles admitted by configured purpose or allow-list policy.
disallowed: Vec<String>Files not admitted by configured purpose or allow-list policy.
disallowed_extension_counts: BTreeMap<String, usize>Disallowed file counts grouped by normalized extension.
allowed_extension_counts: BTreeMap<String, usize>Allowed file counts grouped by normalized extension.
asset_roots_present: usizeConfigured asset roots that currently exist.
assets_outside_roots: Vec<String>Asset files found outside configured asset roots.
excluded_paths_present: usizeExisting paths excluded from source scanning.
strict: boolWhether disallowed untracked files fail lint.
Implementations§
Source§impl UntrackedLintReport
impl UntrackedLintReport
Sourcefn append_text(&self, report: &mut Vec<String>)
fn append_text(&self, report: &mut Vec<String>)
Append compatibility text for the typed untracked-file inventory.
Trait Implementations§
Source§impl Debug for UntrackedLintReport
impl Debug for UntrackedLintReport
impl Eq for UntrackedLintReport
Source§impl PartialEq for UntrackedLintReport
impl PartialEq for UntrackedLintReport
Source§fn eq(&self, other: &UntrackedLintReport) -> bool
fn eq(&self, other: &UntrackedLintReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UntrackedLintReport
impl Serialize for UntrackedLintReport
impl StructuralPartialEq for UntrackedLintReport
Auto Trait Implementations§
impl Freeze for UntrackedLintReport
impl RefUnwindSafe for UntrackedLintReport
impl Send for UntrackedLintReport
impl Sync for UntrackedLintReport
impl Unpin for UntrackedLintReport
impl UnsafeUnpin for UntrackedLintReport
impl UnwindSafe for UntrackedLintReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more