pub struct Corroboration {
pub claim: String,
pub claim_digest: String,
pub grade_before: ValueGrade,
pub grade_after: ValueGrade,
pub outcome: CorroborationOutcome,
pub checks: Vec<CheckEvidence>,
}Expand description
A corroboration step’s record: the claim before and after, the outcome and every check.
Fields§
§claim: String§claim_digest: String§grade_before: ValueGrade§grade_after: ValueGrade§outcome: CorroborationOutcome§checks: Vec<CheckEvidence>Trait Implementations§
Source§impl Clone for Corroboration
impl Clone for Corroboration
Source§impl Debug for Corroboration
impl Debug for Corroboration
Source§impl<'de> Deserialize<'de> for Corroboration
impl<'de> Deserialize<'de> for Corroboration
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 Corroboration
Source§impl JsonSchema for Corroboration
impl JsonSchema for Corroboration
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 Corroboration
impl PartialEq for Corroboration
Source§impl Serialize for Corroboration
impl Serialize for Corroboration
impl StructuralPartialEq for Corroboration
Auto Trait Implementations§
impl Freeze for Corroboration
impl RefUnwindSafe for Corroboration
impl Send for Corroboration
impl Sync for Corroboration
impl Unpin for Corroboration
impl UnsafeUnpin for Corroboration
impl UnwindSafe for Corroboration
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