pub struct TimelineEvidenceRef {
pub id: String,
pub media_type: String,
pub sha256: String,
}Expand description
One evidence reference on a timeline entry — reference ONLY, never bytes (08 §4.3); dereference goes through the evidence route.
Fields§
§id: StringProvider-side asset id.
media_type: StringMedia type of the referenced bytes.
sha256: StringContent address of the localized bytes (bare lowercase hex).
Trait Implementations§
Source§impl Clone for TimelineEvidenceRef
impl Clone for TimelineEvidenceRef
Source§fn clone(&self) -> TimelineEvidenceRef
fn clone(&self) -> TimelineEvidenceRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimelineEvidenceRef
impl Debug for TimelineEvidenceRef
Source§impl<'de> Deserialize<'de> for TimelineEvidenceRef
impl<'de> Deserialize<'de> for TimelineEvidenceRef
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 TimelineEvidenceRef
impl JsonSchema for TimelineEvidenceRef
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 TimelineEvidenceRef
impl PartialEq for TimelineEvidenceRef
Source§impl Serialize for TimelineEvidenceRef
impl Serialize for TimelineEvidenceRef
impl StructuralPartialEq for TimelineEvidenceRef
Auto Trait Implementations§
impl Freeze for TimelineEvidenceRef
impl RefUnwindSafe for TimelineEvidenceRef
impl Send for TimelineEvidenceRef
impl Sync for TimelineEvidenceRef
impl Unpin for TimelineEvidenceRef
impl UnsafeUnpin for TimelineEvidenceRef
impl UnwindSafe for TimelineEvidenceRef
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