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