pub struct InitRun {
pub name: String,
pub passed: bool,
pub status: String,
pub duration_ms: u64,
pub reason: Option<String>,
}Expand description
One check init ran on the untouched code.
Fields§
§name: String[checks.<name>].
passed: boolPassed on the untouched code.
status: Stringpassed, failed, timed_out, skipped, error.
duration_ms: u64How long it took.
reason: Option<String>Why it did not pass: the last line of its output that says something
(No module named pytest), or the runner’s note.
Trait Implementations§
impl Eq for InitRun
Source§impl JsonSchema for InitRun
impl JsonSchema for InitRun
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 moreimpl StructuralPartialEq for InitRun
Auto Trait Implementations§
impl Freeze for InitRun
impl RefUnwindSafe for InitRun
impl Send for InitRun
impl Sync for InitRun
impl Unpin for InitRun
impl UnsafeUnpin for InitRun
impl UnwindSafe for InitRun
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