pub struct Transaction {
pub body: SerializedTransactionBody,
pub witness: TransactionWitness,
pub is_valid: bool,
pub auxiliary_data: Nullable<Metadata>,
}Expand description
Fully formed Transaction, with the body and the associated witness
Only used to submit transaction to the nodes, doesn’t appear on the chain format.
TODO: consider moving to the protocol side
Fields§
§body: SerializedTransactionBody§witness: TransactionWitness§is_valid: bool§auxiliary_data: Nullable<Metadata>Implementations§
Source§impl Transaction
impl Transaction
Trait Implementations§
Source§impl Clone for Transaction
impl Clone for Transaction
Source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Transaction
impl Debug for Transaction
Source§impl Decode for Transaction
impl Decode for Transaction
Source§impl PartialEq for Transaction
impl PartialEq for Transaction
impl Eq for Transaction
impl StructuralPartialEq for Transaction
Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more