pub struct FailedCheck {
pub name: String,
pub argv: Vec<String>,
pub status: CheckStatus,
pub failing_tests: Vec<String>,
pub excerpt: String,
}Expand description
One check that did not pass.
Fields§
§name: StringName from speccoder.toml (or acceptance).
argv: Vec<String>The command, as run.
status: CheckStatusWhat happened.
failing_tests: Vec<String>Failing test IDs, when the check reports tests.
excerpt: StringOutput from the first error line on, capped.
Trait Implementations§
Source§impl Clone for FailedCheck
impl Clone for FailedCheck
Source§impl Debug for FailedCheck
impl Debug for FailedCheck
Source§impl<'de> Deserialize<'de> for FailedCheck
impl<'de> Deserialize<'de> for FailedCheck
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
impl Eq for FailedCheck
Source§impl JsonSchema for FailedCheck
impl JsonSchema for FailedCheck
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 moreSource§impl PartialEq for FailedCheck
impl PartialEq for FailedCheck
Source§impl Serialize for FailedCheck
impl Serialize for FailedCheck
impl StructuralPartialEq for FailedCheck
Auto Trait Implementations§
impl Freeze for FailedCheck
impl RefUnwindSafe for FailedCheck
impl Send for FailedCheck
impl Sync for FailedCheck
impl Unpin for FailedCheck
impl UnsafeUnpin for FailedCheck
impl UnwindSafe for FailedCheck
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