Struct diem_types::transaction::TransactionToCommit [−][src]
pub struct TransactionToCommit { /* fields omitted */ }Implementations
pub fn new(
transaction: Transaction,
transaction_info: TransactionInfo,
account_states: HashMap<AccountAddress, AccountStateBlob>,
jf_node_hashes: Option<HashMap<NibblePath, HashValue>>,
write_set: WriteSet,
events: Vec<ContractEvent>
) -> Self
Trait Implementations
type Parameters = ()
type Parameters = ()
The type of parameters that arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default. Read more
type Strategy = BoxedStrategy<Self>
type Strategy = BoxedStrategy<Self>
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TransactionToCommit
impl Send for TransactionToCommit
impl Sync for TransactionToCommit
impl Unpin for TransactionToCommit
impl UnwindSafe for TransactionToCommit
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.