pub struct ValidationSummary {
pub dialect: String,
pub issues: Vec<ValidationIssue>,
pub summary: SummaryStats,
pub checks: CheckResults,
}Expand description
Validation summary with collected issues
Fields§
§dialect: String§issues: Vec<ValidationIssue>§summary: SummaryStats§checks: CheckResultsImplementations§
Source§impl ValidationSummary
impl ValidationSummary
pub fn has_errors(&self) -> bool
pub fn has_warnings(&self) -> bool
Trait Implementations§
Source§impl Debug for ValidationSummary
impl Debug for ValidationSummary
Source§impl JsonSchema for ValidationSummary
impl JsonSchema for ValidationSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ValidationSummary
impl RefUnwindSafe for ValidationSummary
impl Send for ValidationSummary
impl Sync for ValidationSummary
impl Unpin for ValidationSummary
impl UnwindSafe for ValidationSummary
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