Struct diem_types::proptest_types::AccountStateBlobGen
source · pub struct AccountStateBlobGen { /* private fields */ }
Implementations§
source§impl AccountStateBlobGen
impl AccountStateBlobGen
pub fn materialize( self, account_index: Index, universe: &AccountInfoUniverse ) -> AccountStateBlob
Trait Implementations§
source§impl Arbitrary for AccountStateBlobGen
impl Arbitrary for AccountStateBlobGen
§type Parameters = (<AccountResourceGen as Arbitrary>::Parameters, <BalanceResourceGen as Arbitrary>::Parameters)
type Parameters = (<AccountResourceGen as Arbitrary>::Parameters, <BalanceResourceGen as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<(<AccountResourceGen as Arbitrary>::Strategy, <BalanceResourceGen as Arbitrary>::Strategy), fn(_: (AccountResourceGen, BalanceResourceGen)) -> AccountStateBlobGen>
type Strategy = Map<(<AccountResourceGen as Arbitrary>::Strategy, <BalanceResourceGen as Arbitrary>::Strategy), fn(_: (AccountResourceGen, BalanceResourceGen)) -> AccountStateBlobGen>
The type of
Strategy
used to generate values of type Self
.