pub enum ContractStatus {
Draft,
Active,
Deprecated,
Retired,
}Expand description
Status of a contract in its lifecycle.
Variants§
Draft
Contract is being drafted, not yet enforced.
Active
Contract is active and enforced.
Deprecated
Contract is deprecated, still enforced but expected to be replaced.
Retired
Contract is retired, no longer enforced.
Trait Implementations§
Source§impl Clone for ContractStatus
impl Clone for ContractStatus
Source§fn clone(&self) -> ContractStatus
fn clone(&self) -> ContractStatus
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 ContractStatus
impl Debug for ContractStatus
Source§impl Default for ContractStatus
impl Default for ContractStatus
Source§impl<'de> Deserialize<'de> for ContractStatus
impl<'de> Deserialize<'de> for ContractStatus
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 ContractStatus
impl PartialEq for ContractStatus
Source§impl Serialize for ContractStatus
impl Serialize for ContractStatus
impl Copy for ContractStatus
impl Eq for ContractStatus
impl StructuralPartialEq for ContractStatus
Auto Trait Implementations§
impl Freeze for ContractStatus
impl RefUnwindSafe for ContractStatus
impl Send for ContractStatus
impl Sync for ContractStatus
impl Unpin for ContractStatus
impl UnsafeUnpin for ContractStatus
impl UnwindSafe for ContractStatus
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> 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.