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