Enum diem_types::transaction::TransactionArgument [−][src]
pub enum TransactionArgument {
U8(u8),
U64(u64),
U128(u128),
Address(AccountAddress),
U8Vector(Vec<u8, Global>),
Bool(bool),
}
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
Address(AccountAddress)
Tuple Fields of Address
Bool(bool)
Tuple Fields of Bool
0: bool
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TransactionArgument, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TransactionArgument, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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 TransactionArgument
impl Send for TransactionArgument
impl Sync for TransactionArgument
impl Unpin for TransactionArgument
impl UnwindSafe for TransactionArgument
Blanket Implementations
Mutably borrows from an owned value. Read more
Generates a hash used only for tests.