Enum diem_sdk::move_types::value::MoveValue [−][src]
pub enum MoveValue {
U8(u8),
U64(u64),
U128(u128),
Bool(bool),
Address(AccountAddress),
Vector(Vec<MoveValue, Global>),
Struct(MoveStruct),
Signer(AccountAddress),
}
Variants
U8(u8)
Tuple Fields of U8
0: u8
U64(u64)
Tuple Fields of U64
0: u64
U128(u128)
Tuple Fields of U128
0: u128
Bool(bool)
Tuple Fields of Bool
0: bool
Address(AccountAddress)
Tuple Fields of Address
Struct(MoveStruct)
Tuple Fields of Struct
0: MoveStruct
Signer(AccountAddress)
Tuple Fields of Signer
Implementations
Trait Implementations
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MoveValue
impl UnwindSafe for MoveValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Generates a hash used only for tests.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more