Enum fuels_core::Token [−][src]
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)
Tuple Fields
0: u8U16(u16)
Tuple Fields
0: u16U32(u32)
Tuple Fields
0: u32U64(u64)
Tuple Fields
0: u64Bool(bool)
Tuple Fields
0: boolByte(u8)
Tuple Fields
0: u8B256(Bits256)
Tuple Fields
0: Bits256Array(Vec<Token>)
String(String)
Tuple Fields
0: StringStruct(Vec<Token>)
Enum(Box<EnumSelector>)
Tuple Fields
0: 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.
