pub struct TransactionVerificationData {
pub tx: Transaction,
pub version: TxVersion,
pub tx_blob: Vec<u8>,
pub tx_weight: usize,
pub fee: u64,
pub tx_hash: [u8; 32],
pub cached_verification_state: CachedVerificationState,
}Expand description
Data needed to verify a transaction.
Fields§
§tx: TransactionThe transaction we are verifying
version: TxVersionThe TxVersion of this tx.
tx_blob: Vec<u8>The serialised transaction.
tx_weight: usizeThe weight of the transaction.
fee: u64The fee this transaction has paid.
tx_hash: [u8; 32]The hash of this transaction.
cached_verification_state: CachedVerificationStateThe verification state of this transaction.
Trait Implementations§
Source§impl Clone for TransactionVerificationData
impl Clone for TransactionVerificationData
Source§fn clone(&self) -> TransactionVerificationData
fn clone(&self) -> TransactionVerificationData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransactionVerificationData
impl Debug for TransactionVerificationData
Auto Trait Implementations§
impl Freeze for TransactionVerificationData
impl RefUnwindSafe for TransactionVerificationData
impl Send for TransactionVerificationData
impl Sync for TransactionVerificationData
impl Unpin for TransactionVerificationData
impl UnsafeUnpin for TransactionVerificationData
impl UnwindSafe for TransactionVerificationData
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 696 bytes