Enum coreledger_backend::model::ContractType
pub enum ContractType {
Integration = 1,
Controller = 2,
CLMP = 3,
}
Variants§
Implementations§
Trait Implementations§
§impl CandidType for ContractType
impl CandidType for ContractType
§impl Clone for ContractType
impl Clone for ContractType
§fn clone(&self) -> ContractType
fn clone(&self) -> ContractType
Returns a copy 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 more§impl<'de> Deserialize<'de> for ContractType
impl<'de> Deserialize<'de> for ContractType
§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 Serialize for ContractType
impl Serialize for ContractType
impl Copy for ContractType
Auto Trait Implementations§
impl Freeze for ContractType
impl RefUnwindSafe for ContractType
impl Send for ContractType
impl Sync for ContractType
impl Unpin for ContractType
impl UnwindSafe for ContractType
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