Struct diem_sdk::types::proptest_types::RawTransactionGen
pub struct RawTransactionGen { /* private fields */ }
Implementations§
§impl RawTransactionGen
impl RawTransactionGen
pub fn materialize( self, sender_index: Index, universe: &mut AccountInfoUniverse ) -> RawTransaction
Trait Implementations§
§impl Arbitrary for RawTransactionGen
impl Arbitrary for RawTransactionGen
§type Parameters = (<TransactionPayload as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters)
type Parameters = (<TransactionPayload as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<(<TransactionPayload as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn(_: (TransactionPayload, u64, u64, String, u64)) -> RawTransactionGen>
type Strategy = Map<(<TransactionPayload as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn(_: (TransactionPayload, u64, u64, String, u64)) -> RawTransactionGen>
The type of
Strategy
used to generate values of type Self
.