pub struct Report {Show 14 fields
pub tool: &'static str,
pub version: &'static str,
pub mode: &'static str,
pub root: Option<String>,
pub url: Option<String>,
pub started_at: String,
pub duration_ms: u64,
pub options: OptionsBlock,
pub summary: Summary,
pub files: Vec<FileRecord>,
pub unknown_files: Vec<String>,
pub error_files: Vec<String>,
pub verify_failed_files: Vec<String>,
pub warnings: Vec<String>,
}Expand description
Full JSON report document.
Fields§
§tool: &'static str§version: &'static str§mode: &'static str§root: Option<String>§url: Option<String>§started_at: String§duration_ms: u64§options: OptionsBlock§summary: Summary§files: Vec<FileRecord>§unknown_files: Vec<String>§error_files: Vec<String>§verify_failed_files: Vec<String>Paths whose verify record is failed (fix mode only). Omitted when
the gate is clean, so other modes stay schema-compatible.
warnings: Vec<String>Non-fatal traversal/ignore warnings (unreadable directories etc.).
In verify/fix an unreadable subtree fails the gate, so a non-empty
list there always accompanies exit code 3. Omitted when empty.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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