pub struct ValidateReport {
pub clean: bool,
pub diagnostics: Vec<ValidateDiagnostic>,
pub error_count: usize,
pub warning_count: usize,
}Expand description
JSON output envelope for mars validate --json.
Fields§
§clean: boolWhether the validate run is clean (no errors after applying strictness rules).
diagnostics: Vec<ValidateDiagnostic>All diagnostics collected during the dry-run pipeline.
error_count: usizeNumber of errors (after strictness escalation).
warning_count: usizeNumber of warnings (after strictness escalation, pre-escalated warnings that became errors are NOT counted here).
Trait Implementations§
Source§impl Debug for ValidateReport
impl Debug for ValidateReport
Auto Trait Implementations§
impl Freeze for ValidateReport
impl RefUnwindSafe for ValidateReport
impl Send for ValidateReport
impl Sync for ValidateReport
impl Unpin for ValidateReport
impl UnsafeUnpin for ValidateReport
impl UnwindSafe for ValidateReport
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> 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