pub struct TransactionSignatureDetails { /* private fields */ }
Expand description
Transaction signature details including the number of transaction signatures and precompile signatures.
Implementations§
Source§impl TransactionSignatureDetails
impl TransactionSignatureDetails
pub fn new( num_transaction_signatures: u64, num_secp256k1_instruction_signatures: u64, num_ed25519_instruction_signatures: u64, ) -> TransactionSignatureDetails
Sourcepub fn total_signatures(&self) -> u64
pub fn total_signatures(&self) -> u64
return total number of signature, treating pre-processor operations as signature
Sourcepub fn num_transaction_signatures(&self) -> u64
pub fn num_transaction_signatures(&self) -> u64
return the number of transaction signatures
Sourcepub fn num_secp256k1_instruction_signatures(&self) -> u64
pub fn num_secp256k1_instruction_signatures(&self) -> u64
return the number of secp256k1 instruction signatures
Sourcepub fn num_ed25519_instruction_signatures(&self) -> u64
pub fn num_ed25519_instruction_signatures(&self) -> u64
return the number of ed25519 instruction signatures
Trait Implementations§
Source§impl Debug for TransactionSignatureDetails
impl Debug for TransactionSignatureDetails
Source§impl Default for TransactionSignatureDetails
impl Default for TransactionSignatureDetails
Source§fn default() -> TransactionSignatureDetails
fn default() -> TransactionSignatureDetails
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransactionSignatureDetails
impl RefUnwindSafe for TransactionSignatureDetails
impl Send for TransactionSignatureDetails
impl Sync for TransactionSignatureDetails
impl Unpin for TransactionSignatureDetails
impl UnwindSafe for TransactionSignatureDetails
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
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