pub struct InputEvidence {
pub field: String,
pub status: InputStatus,
pub meta: Option<ValueMeta>,
pub presence: Option<Presence>,
pub entries: Option<Vec<EntryEvidence>>,
pub resolution: Option<Resolution>,
pub dropped: Option<DroppedBy>,
pub producer: Option<Producer>,
}Fields§
§field: String§status: InputStatus§meta: Option<ValueMeta>Evidence 2 (spec 032, 3.10.1): the input’s value metadata.
presence: Option<Presence>§entries: Option<Vec<EntryEvidence>>Evidence 2, graded inputs: every entry considered, in snapshot order.
resolution: Option<Resolution>Evidence 2: how a disagreement was resolved (spec 032, 3.8.4).
dropped: Option<DroppedBy>Evidence 2: the check whose drop_field made this input absent; its
entry digest, source and provenance stay recorded (spec 033, 3.4.8).
producer: Option<Producer>Trait Implementations§
Source§impl Clone for InputEvidence
impl Clone for InputEvidence
Source§impl Debug for InputEvidence
impl Debug for InputEvidence
Source§impl<'de> Deserialize<'de> for InputEvidence
impl<'de> Deserialize<'de> for InputEvidence
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 InputEvidence
impl JsonSchema for InputEvidence
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 InputEvidence
impl PartialEq for InputEvidence
Source§impl Serialize for InputEvidence
impl Serialize for InputEvidence
impl StructuralPartialEq for InputEvidence
Auto Trait Implementations§
impl Freeze for InputEvidence
impl RefUnwindSafe for InputEvidence
impl Send for InputEvidence
impl Sync for InputEvidence
impl Unpin for InputEvidence
impl UnsafeUnpin for InputEvidence
impl UnwindSafe for InputEvidence
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