pub struct ContextSourceAnchor {
pub source_id: String,
pub source_type: ContextSourceAnchorType,
pub ref: String,
pub hash: String,
}Expand description
Source anchor on a context envelope.
Fields§
§source_id: StringStable source identifier.
source_type: ContextSourceAnchorTypeSource type vocabulary.
ref: StringStable source reference.
hash: Stringsha256:<hex> hash.
Trait Implementations§
Source§impl Clone for ContextSourceAnchor
impl Clone for ContextSourceAnchor
Source§fn clone(&self) -> ContextSourceAnchor
fn clone(&self) -> ContextSourceAnchor
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 ContextSourceAnchor
impl Debug for ContextSourceAnchor
Source§impl<'de> Deserialize<'de> for ContextSourceAnchor
impl<'de> Deserialize<'de> for ContextSourceAnchor
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 PartialEq for ContextSourceAnchor
impl PartialEq for ContextSourceAnchor
Source§fn eq(&self, other: &ContextSourceAnchor) -> bool
fn eq(&self, other: &ContextSourceAnchor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextSourceAnchor
impl Serialize for ContextSourceAnchor
impl Eq for ContextSourceAnchor
impl StructuralPartialEq for ContextSourceAnchor
Auto Trait Implementations§
impl Freeze for ContextSourceAnchor
impl RefUnwindSafe for ContextSourceAnchor
impl Send for ContextSourceAnchor
impl Sync for ContextSourceAnchor
impl Unpin for ContextSourceAnchor
impl UnsafeUnpin for ContextSourceAnchor
impl UnwindSafe for ContextSourceAnchor
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