Struct diem_sdk::types::proptest_types::TransactionToCommitGen
pub struct TransactionToCommitGen { /* private fields */ }Expand description
Represents information already determined for generating a TransactionToCommit, along with
to be determined information that needs to settle upon materialize(), for example a to be
determined account can be represented by an Index which will be materialized to an entry in
the AccountInfoUniverse.
See TransactionToCommitGen::materialize() and supporting types.
Implementations§
§impl TransactionToCommitGen
impl TransactionToCommitGen
pub fn materialize(
self,
universe: &mut AccountInfoUniverse
) -> TransactionToCommit
pub fn materialize( self, universe: &mut AccountInfoUniverse ) -> TransactionToCommit
Materialize considering current states in the universe.
Trait Implementations§
§impl Arbitrary for TransactionToCommitGen
impl Arbitrary for TransactionToCommitGen
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.§fn arbitrary_with(
_args: <TransactionToCommitGen as Arbitrary>::Parameters
) -> <TransactionToCommitGen as Arbitrary>::Strategy
fn arbitrary_with( _args: <TransactionToCommitGen as Arbitrary>::Parameters ) -> <TransactionToCommitGen as Arbitrary>::Strategy
§type Strategy = BoxedStrategy<TransactionToCommitGen>
type Strategy = BoxedStrategy<TransactionToCommitGen>
The type of
Strategy used to generate values of type Self.