Enum fuels_core::Token
source · [−]pub enum Token {
U8(u8),
U16(u16),
U32(u32),
U64(u64),
Bool(bool),
Byte(u8),
B256(Bits256),
Array(Vec<Token>),
String(String),
Struct(Vec<Token>),
Enum(Box<EnumSelector>),
}
Variants
U8(u8)
U16(u16)
U32(u32)
U64(u64)
Bool(bool)
Byte(u8)
B256(Bits256)
Array(Vec<Token>)
String(String)
Struct(Vec<Token>)
Enum(Box<EnumSelector>)
Trait Implementations
Converts a Token
into expected type.
Converts a specified type back into token.
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more
Creates a new instance from parsed ABI tokens.