pub enum CapabilityReadinessStatus {
Active,
ReservedInactive,
}Expand description
Enumerates the finite capability readiness status cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Active
Use this variant when the contract needs to represent active; selecting it has no side effect by itself.
ReservedInactive
Use this variant when the contract needs to represent reserved inactive; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for CapabilityReadinessStatus
impl Clone for CapabilityReadinessStatus
Source§fn clone(&self) -> CapabilityReadinessStatus
fn clone(&self) -> CapabilityReadinessStatus
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 CapabilityReadinessStatus
impl Debug for CapabilityReadinessStatus
Source§impl<'de> Deserialize<'de> for CapabilityReadinessStatus
impl<'de> Deserialize<'de> for CapabilityReadinessStatus
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 CapabilityReadinessStatus
impl PartialEq for CapabilityReadinessStatus
Source§fn eq(&self, other: &CapabilityReadinessStatus) -> bool
fn eq(&self, other: &CapabilityReadinessStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CapabilityReadinessStatus
impl StructuralPartialEq for CapabilityReadinessStatus
Auto Trait Implementations§
impl Freeze for CapabilityReadinessStatus
impl RefUnwindSafe for CapabilityReadinessStatus
impl Send for CapabilityReadinessStatus
impl Sync for CapabilityReadinessStatus
impl Unpin for CapabilityReadinessStatus
impl UnsafeUnpin for CapabilityReadinessStatus
impl UnwindSafe for CapabilityReadinessStatus
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