pub enum ContractState {
Active,
Inactive,
}Variants§
Trait Implementations§
Source§impl Clone for ContractState
impl Clone for ContractState
Source§fn clone(&self) -> ContractState
fn clone(&self) -> ContractState
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 moreimpl Copy for ContractState
Source§impl Debug for ContractState
impl Debug for ContractState
Source§impl<'de> Deserialize<'de> for ContractState
impl<'de> Deserialize<'de> for ContractState
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 ContractState
Source§impl Hash for ContractState
impl Hash for ContractState
Source§impl PartialEq for ContractState
impl PartialEq for ContractState
Source§fn eq(&self, other: &ContractState) -> bool
fn eq(&self, other: &ContractState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContractState
impl Serialize for ContractState
impl StructuralPartialEq for ContractState
Auto Trait Implementations§
impl Freeze for ContractState
impl RefUnwindSafe for ContractState
impl Send for ContractState
impl Sync for ContractState
impl Unpin for ContractState
impl UnsafeUnpin for ContractState
impl UnwindSafe for ContractState
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