pub struct CapabilityKey(/* private fields */);Expand description
Stable key for a runtime capability contract.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityKey
impl Clone for CapabilityKey
Source§fn clone(&self) -> CapabilityKey
fn clone(&self) -> CapabilityKey
Returns a duplicate of the value. Read more
1.0.0 · 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 CapabilityKey
impl Debug for CapabilityKey
Source§impl Default for CapabilityKey
impl Default for CapabilityKey
Source§fn default() -> CapabilityKey
fn default() -> CapabilityKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapabilityKey
impl<'de> Deserialize<'de> for CapabilityKey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CapabilityKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CapabilityKey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CapabilityKey
impl Display for CapabilityKey
Source§impl From<&str> for CapabilityKey
impl From<&str> for CapabilityKey
Source§fn from(value: &str) -> CapabilityKey
fn from(value: &str) -> CapabilityKey
Converts to this type from the input type.
Source§impl From<ActorIngressMutationCapability> for CapabilityKey
impl From<ActorIngressMutationCapability> for CapabilityKey
Source§fn from(value: ActorIngressMutationCapability) -> CapabilityKey
fn from(value: ActorIngressMutationCapability) -> CapabilityKey
Converts to this type from the input type.
Source§impl From<LifecyclePublicationCapability> for CapabilityKey
impl From<LifecyclePublicationCapability> for CapabilityKey
Source§fn from(value: LifecyclePublicationCapability) -> CapabilityKey
fn from(value: LifecyclePublicationCapability) -> CapabilityKey
Converts to this type from the input type.
Source§impl From<OperationContextCapability> for CapabilityKey
impl From<OperationContextCapability> for CapabilityKey
Source§fn from(value: OperationContextCapability) -> CapabilityKey
fn from(value: OperationContextCapability) -> CapabilityKey
Converts to this type from the input type.
Source§impl From<OwnershipTransferCapability> for CapabilityKey
impl From<OwnershipTransferCapability> for CapabilityKey
Source§fn from(value: OwnershipTransferCapability) -> CapabilityKey
fn from(value: OwnershipTransferCapability) -> CapabilityKey
Converts to this type from the input type.
Source§impl From<PostconditionProofCapability> for CapabilityKey
impl From<PostconditionProofCapability> for CapabilityKey
Source§fn from(value: PostconditionProofCapability) -> CapabilityKey
fn from(value: PostconditionProofCapability) -> CapabilityKey
Converts to this type from the input type.
Source§impl From<ReadinessPublicationCapability> for CapabilityKey
impl From<ReadinessPublicationCapability> for CapabilityKey
Source§fn from(value: ReadinessPublicationCapability) -> CapabilityKey
fn from(value: ReadinessPublicationCapability) -> CapabilityKey
Converts to this type from the input type.
Source§impl From<String> for CapabilityKey
impl From<String> for CapabilityKey
Source§fn from(value: String) -> CapabilityKey
fn from(value: String) -> CapabilityKey
Converts to this type from the input type.
Source§impl Hash for CapabilityKey
impl Hash for CapabilityKey
Source§impl Ord for CapabilityKey
impl Ord for CapabilityKey
Source§fn cmp(&self, other: &CapabilityKey) -> Ordering
fn cmp(&self, other: &CapabilityKey) -> Ordering
1.21.0 · 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
Source§impl PartialEq for CapabilityKey
impl PartialEq for CapabilityKey
Source§impl PartialOrd for CapabilityKey
impl PartialOrd for CapabilityKey
Source§impl Serialize for CapabilityKey
impl Serialize for CapabilityKey
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 Eq for CapabilityKey
impl StructuralPartialEq for CapabilityKey
Auto Trait Implementations§
impl Freeze for CapabilityKey
impl RefUnwindSafe for CapabilityKey
impl Send for CapabilityKey
impl Sync for CapabilityKey
impl Unpin for CapabilityKey
impl UnsafeUnpin for CapabilityKey
impl UnwindSafe for CapabilityKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.