pub struct EvidenceTour {
pub feature: String,
pub task: String,
pub title: String,
pub verdict: Option<String>,
pub commit: Option<String>,
pub steps: Vec<TourStep>,
pub unverifiable: Option<String>,
}Expand description
Result of speccoder attest tour and /api/tour: one task’s tour.
Fields§
§feature: StringThe unit.
task: StringTask ID.
title: StringThe task’s title.
verdict: Option<String>The verdict the evidence claims, when any.
commit: Option<String>The task commit, when one carries the task’s evidence.
steps: Vec<TourStep>The six steps, in order — only the first for an unverifiable tick.
unverifiable: Option<String>For an unverifiable tick: why the evidence does not count.
Implementations§
Trait Implementations§
Source§impl Clone for EvidenceTour
impl Clone for EvidenceTour
Source§impl Debug for EvidenceTour
impl Debug for EvidenceTour
Source§impl JsonSchema for EvidenceTour
impl JsonSchema for EvidenceTour
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 EvidenceTour
impl PartialEq for EvidenceTour
Source§impl Serialize for EvidenceTour
impl Serialize for EvidenceTour
impl StructuralPartialEq for EvidenceTour
Auto Trait Implementations§
impl Freeze for EvidenceTour
impl RefUnwindSafe for EvidenceTour
impl Send for EvidenceTour
impl Sync for EvidenceTour
impl Unpin for EvidenceTour
impl UnsafeUnpin for EvidenceTour
impl UnwindSafe for EvidenceTour
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