pub struct ParsedBlocks {
pub blocks: HashMap<RepoPath, FileBlocks>,
pub stats: ScanStats,
}Expand description
The blocks found in each file, together with the counts of files the scan looked at.
Fields§
§blocks: HashMap<RepoPath, FileBlocks>The blocks to validate, grouped by the file they were found in.
stats: ScanStatsFile counts for the run report; carried alongside the blocks because only the scan knows how many files it looked at but produced no blocks for.
Trait Implementations§
Source§impl Debug for ParsedBlocks
impl Debug for ParsedBlocks
Source§impl Default for ParsedBlocks
impl Default for ParsedBlocks
Source§fn default() -> ParsedBlocks
fn default() -> ParsedBlocks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParsedBlocks
impl RefUnwindSafe for ParsedBlocks
impl Send for ParsedBlocks
impl Sync for ParsedBlocks
impl Unpin for ParsedBlocks
impl UnsafeUnpin for ParsedBlocks
impl UnwindSafe for ParsedBlocks
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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