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