Struct diem_types::proptest_types::TransactionToCommitGen
source · 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§
source§impl TransactionToCommitGen
impl TransactionToCommitGen
sourcepub fn materialize(
self,
universe: &mut AccountInfoUniverse
) -> TransactionToCommit
pub fn materialize( self, universe: &mut AccountInfoUniverse ) -> TransactionToCommit
Materialize considering current states in the universe.
Trait Implementations§
source§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
.source§fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy
§type Strategy = BoxedStrategy<TransactionToCommitGen>
type Strategy = BoxedStrategy<TransactionToCommitGen>
The type of
Strategy
used to generate values of type Self
.