pub struct ContextProvenance {
pub revision_id: String,
pub kind: AnnotationKind,
pub attribution: String,
pub source_hash: Option<ContentHash>,
pub created_at_state: Option<StateId>,
}Expand description
Evidence captured by the authoring context command. This remains inside the signed native operation even when a hosted view does not project every field.
Fields§
§revision_id: String§kind: AnnotationKind§attribution: String§source_hash: Option<ContentHash>§created_at_state: Option<StateId>Trait Implementations§
Source§impl Clone for ContextProvenance
impl Clone for ContextProvenance
Source§fn clone(&self) -> ContextProvenance
fn clone(&self) -> ContextProvenance
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 ContextProvenance
impl Debug for ContextProvenance
Source§impl<'de> Deserialize<'de> for ContextProvenance
impl<'de> Deserialize<'de> for ContextProvenance
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextProvenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextProvenance
Source§impl PartialEq for ContextProvenance
impl PartialEq for ContextProvenance
Source§impl Serialize for ContextProvenance
impl Serialize for ContextProvenance
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContextProvenance
Auto Trait Implementations§
impl Freeze for ContextProvenance
impl RefUnwindSafe for ContextProvenance
impl Send for ContextProvenance
impl Sync for ContextProvenance
impl Unpin for ContextProvenance
impl UnsafeUnpin for ContextProvenance
impl UnwindSafe for ContextProvenance
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