Enum move_idl_types::IDLType
source · [−]pub enum IDLType {
Bool,
U8,
U64,
U128,
Address,
Signer,
TypeParameter(u16),
Tuple(Vec<IDLType>),
Vector(Box<IDLType>),
Struct(IDLStructTag),
}Expand description
A type represented in the IDL.
Variants
Bool
U8
U64
U128
Address
Signer
TypeParameter(u16)
Tuple(Vec<IDLType>)
Vector(Box<IDLType>)
Struct(IDLStructTag)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for IDLType
impl<'de> Deserialize<'de> for IDLType
sourcefn 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 IDLType
Auto Trait Implementations
impl RefUnwindSafe for IDLType
impl Send for IDLType
impl Sync for IDLType
impl Unpin for IDLType
impl UnwindSafe for IDLType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more