Enum diem_types::transaction::TransactionArgument [−]
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: u8U64(u64)Tuple Fields of U64
0: u64U128(u128)Tuple Fields of U128
0: u128Address(AccountAddress)Tuple Fields of Address
Bool(bool)Tuple Fields of Bool
0: boolTrait Implementations
impl Arbitrary for TransactionArgument
impl Arbitrary for TransactionArgument
type Parameters = ()
type Parameters = ()
The type of parameters that arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default. Read more
pub fn arbitrary_with(_args: ()) -> <TransactionArgument as Arbitrary>::Strategy
pub fn arbitrary_with(_args: ()) -> <TransactionArgument as Arbitrary>::Strategy
type Strategy = BoxedStrategy<TransactionArgument>
type Strategy = BoxedStrategy<TransactionArgument>
impl Clone for TransactionArgument
impl Clone for TransactionArgument
pub fn clone(&self) -> TransactionArgument
pub fn clone(&self) -> TransactionArgument
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
impl Debug for TransactionArgument
impl Debug for TransactionArgument
impl<'de> Deserialize<'de> for TransactionArgument
impl<'de> Deserialize<'de> for TransactionArgument
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
impl Hash for TransactionArgument
impl Hash for TransactionArgument
impl PartialEq<TransactionArgument> for TransactionArgument
impl PartialEq<TransactionArgument> for TransactionArgument
pub fn eq(&self, other: &TransactionArgument) -> bool
pub fn eq(&self, other: &TransactionArgument) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
pub fn ne(&self, other: &TransactionArgument) -> bool
pub fn ne(&self, other: &TransactionArgument) -> bool
This method tests for !=.
impl Serialize for TransactionArgument
impl Serialize for TransactionArgument
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
impl TryFrom<MoveValue> for TransactionArgument
impl TryFrom<MoveValue> for TransactionArgument
impl Eq for TransactionArgument
impl StructuralEq for TransactionArgument
impl StructuralPartialEq for TransactionArgument
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
Compare self to key and return true if they are equal.
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.