pub enum ContractInterfaceAtomType {
Show 13 variants
none,
int128,
uint128,
bool,
principal,
buffer {
length: u32,
},
string_utf8 {
length: u32,
},
string_ascii {
length: u32,
},
tuple(Vec<ContractInterfaceTupleEntryType>),
optional(Box<ContractInterfaceAtomType>),
response {
ok: Box<ContractInterfaceAtomType>,
error: Box<ContractInterfaceAtomType>,
},
list {
type_f: Box<ContractInterfaceAtomType>,
length: u32,
},
trait_reference,
}Variants§
none
int128
uint128
bool
principal
buffer
string_utf8
string_ascii
tuple(Vec<ContractInterfaceTupleEntryType>)
optional(Box<ContractInterfaceAtomType>)
response
list
trait_reference
Trait Implementations§
source§impl Clone for ContractInterfaceAtomType
impl Clone for ContractInterfaceAtomType
source§fn clone(&self) -> ContractInterfaceAtomType
fn clone(&self) -> ContractInterfaceAtomType
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 moresource§impl Debug for ContractInterfaceAtomType
impl Debug for ContractInterfaceAtomType
source§impl<'de> Deserialize<'de> for ContractInterfaceAtomType
impl<'de> Deserialize<'de> for ContractInterfaceAtomType
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 ContractInterfaceAtomType
impl PartialEq for ContractInterfaceAtomType
source§fn eq(&self, other: &ContractInterfaceAtomType) -> bool
fn eq(&self, other: &ContractInterfaceAtomType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContractInterfaceAtomType
Auto Trait Implementations§
impl RefUnwindSafe for ContractInterfaceAtomType
impl Send for ContractInterfaceAtomType
impl Sync for ContractInterfaceAtomType
impl Unpin for ContractInterfaceAtomType
impl UnwindSafe for ContractInterfaceAtomType
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