pub struct ReadEvidence {
pub reference: String,
pub digest: Option<String>,
pub grade: ValueGrade,
}Fields§
§reference: String§digest: Option<String>Absent when the read has no value (it was unresolved or absent).
grade: ValueGradeTrait Implementations§
Source§impl Clone for ReadEvidence
impl Clone for ReadEvidence
Source§impl Debug for ReadEvidence
impl Debug for ReadEvidence
Source§impl<'de> Deserialize<'de> for ReadEvidence
impl<'de> Deserialize<'de> for ReadEvidence
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 ReadEvidence
Source§impl JsonSchema for ReadEvidence
impl JsonSchema for ReadEvidence
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 ReadEvidence
impl PartialEq for ReadEvidence
Source§impl Serialize for ReadEvidence
impl Serialize for ReadEvidence
impl StructuralPartialEq for ReadEvidence
Auto Trait Implementations§
impl Freeze for ReadEvidence
impl RefUnwindSafe for ReadEvidence
impl Send for ReadEvidence
impl Sync for ReadEvidence
impl Unpin for ReadEvidence
impl UnsafeUnpin for ReadEvidence
impl UnwindSafe for ReadEvidence
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