pub struct CheckReport {
pub schema_version: String,
pub valid: bool,
pub cells: usize,
pub estimated_peak_mib: f64,
pub estimated_output_mib: f64,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Result of a case check (schema cfd-craft.check/0.1), as cfd-craft check prints it: validity, the size and resource estimates, and every
diagnostic.
Fields§
§schema_version: StringAlways cfd-craft.check/0.1.
valid: boolTrue when no diagnostic has severity error.
cells: usizeTotal cell count (saturating at usize::MAX); 0 in the report of an
unparsable case.
estimated_peak_mib: f64Conservative estimate of the solver’s peak memory in MiB, checked
against run.memory_limit_mib; not measured process memory.
estimated_output_mib: f64Estimated size of all archive artifacts in MiB, checked against
output.max_total_mib.
diagnostics: Vec<Diagnostic>Every error and warning, in check order.
Trait Implementations§
Source§impl Clone for CheckReport
impl Clone for CheckReport
Source§impl Debug for CheckReport
impl Debug for CheckReport
Source§impl<'de> Deserialize<'de> for CheckReport
impl<'de> Deserialize<'de> for CheckReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CheckReport
impl JsonSchema for CheckReport
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for CheckReport
impl Freeze for CheckReport
impl Move for CheckReport
impl RefUnwindSafe for CheckReport
impl Send for CheckReport
impl Sync for CheckReport
impl Unpin for CheckReport
impl UnsafeUnpin for CheckReport
impl UnwindSafe for CheckReport
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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