pub struct CapabilityPin {
pub id: String,
pub contract_version: String,
pub content_digest: String,
}Expand description
Exact capability identity: id, contract version and content digest.
Fields§
§id: StringStable identifier of this record.
contract_version: StringContract version of the capability.
content_digest: StringContent hash that makes the referenced artifact immutable.
Trait Implementations§
Source§impl Clone for CapabilityPin
impl Clone for CapabilityPin
Source§fn clone(&self) -> CapabilityPin
fn clone(&self) -> CapabilityPin
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 CapabilityPin
impl Debug for CapabilityPin
Source§impl<'de> Deserialize<'de> for CapabilityPin
impl<'de> Deserialize<'de> for CapabilityPin
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 CapabilityPin
Source§impl Ord for CapabilityPin
impl Ord for CapabilityPin
Source§fn cmp(&self, other: &CapabilityPin) -> Ordering
fn cmp(&self, other: &CapabilityPin) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CapabilityPin
impl PartialEq for CapabilityPin
Source§impl PartialOrd for CapabilityPin
impl PartialOrd for CapabilityPin
Source§impl Serialize for CapabilityPin
impl Serialize for CapabilityPin
impl StructuralPartialEq for CapabilityPin
Auto Trait Implementations§
impl Freeze for CapabilityPin
impl RefUnwindSafe for CapabilityPin
impl Send for CapabilityPin
impl Sync for CapabilityPin
impl Unpin for CapabilityPin
impl UnsafeUnpin for CapabilityPin
impl UnwindSafe for CapabilityPin
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