pub struct VerifiedTransactionInformation {
pub tx: Transaction<Pruned>,
pub tx_pruned: Vec<u8>,
pub tx_prunable_blob: Vec<u8>,
pub tx_weight: usize,
pub fee: u64,
pub tx_hash: [u8; 32],
}Expand description
Verified information of a transaction.
This represents a valid transaction
Fields§
§tx: Transaction<Pruned>The transaction itself.
tx_pruned: Vec<u8>The pruned blob of the transaction.
tx_prunable_blob: Vec<u8>The prunable blob of the transaction.
tx_weight: usizeThe transaction’s weight.
[Transaction::weight].
fee: u64The transaction’s total fees.
tx_hash: [u8; 32]The transaction’s hash.
[Transaction::hash].
Trait Implementations§
Source§impl Clone for VerifiedTransactionInformation
impl Clone for VerifiedTransactionInformation
Source§fn clone(&self) -> VerifiedTransactionInformation
fn clone(&self) -> VerifiedTransactionInformation
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 moreimpl Eq for VerifiedTransactionInformation
impl StructuralPartialEq for VerifiedTransactionInformation
Auto Trait Implementations§
impl Freeze for VerifiedTransactionInformation
impl RefUnwindSafe for VerifiedTransactionInformation
impl Send for VerifiedTransactionInformation
impl Sync for VerifiedTransactionInformation
impl Unpin for VerifiedTransactionInformation
impl UnsafeUnpin for VerifiedTransactionInformation
impl UnwindSafe for VerifiedTransactionInformation
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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: 272 bytes