pub enum TransactionArgument {
U8(u8),
U64(u64),
U128(u128),
Address(AccountAddress),
U8Vector(Vec<u8>),
Bool(bool),
}
Variants§
Trait Implementations§
source§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
.source§fn arbitrary_with(_args: ()) -> Self::Strategy
fn arbitrary_with(_args: ()) -> Self::Strategy
§type Strategy = BoxedStrategy<TransactionArgument>
type Strategy = BoxedStrategy<TransactionArgument>
The type of
Strategy
used to generate values of type Self
.source§impl Clone for TransactionArgument
impl Clone for TransactionArgument
source§fn clone(&self) -> TransactionArgument
fn clone(&self) -> TransactionArgument
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransactionArgument
impl Debug for TransactionArgument
source§impl<'de> Deserialize<'de> for TransactionArgument
impl<'de> Deserialize<'de> for TransactionArgument
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for TransactionArgument
impl Hash for TransactionArgument
source§impl PartialEq<TransactionArgument> for TransactionArgument
impl PartialEq<TransactionArgument> for TransactionArgument
source§fn eq(&self, other: &TransactionArgument) -> bool
fn eq(&self, other: &TransactionArgument) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.