Struct diem_types::proptest_types::ContractEventGen
source · pub struct ContractEventGen { /* private fields */ }
Implementations§
source§impl ContractEventGen
impl ContractEventGen
pub fn materialize( self, account_index: Index, universe: &mut AccountInfoUniverse ) -> ContractEvent
Trait Implementations§
source§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
.