pub enum TransactionArgument {
U8(u8),
U64(u64),
U128(u128),
Address(AccountAddress),
U8Vector(Vec<u8, Global>),
Bool(bool),
}
Variants§
Trait 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
.§fn arbitrary_with(_args: ()) -> <TransactionArgument as Arbitrary>::Strategy
fn arbitrary_with(_args: ()) -> <TransactionArgument as Arbitrary>::Strategy
§type Strategy = BoxedStrategy<TransactionArgument>
type Strategy = BoxedStrategy<TransactionArgument>
The type of
Strategy
used to generate values of type Self
.§impl Clone for TransactionArgument
impl Clone for TransactionArgument
§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 more§impl Debug for TransactionArgument
impl Debug for TransactionArgument
§impl<'de> Deserialize<'de> for TransactionArgument
impl<'de> Deserialize<'de> for TransactionArgument
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TransactionArgument, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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
§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 ==
.§impl Serialize for TransactionArgument
impl Serialize for TransactionArgument
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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 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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.