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 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 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
impl StructuralPartialEq for ContractInterfaceAtomType
Auto Trait Implementations§
impl Freeze for ContractInterfaceAtomType
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