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 const fn new( num_transaction_signatures: u64, num_secp256k1_instruction_signatures: u64, num_ed25519_instruction_signatures: u64, num_secp256r1_instruction_signatures: u64, ) -> Self
Available on non-
target_os=solana only.Sourcepub fn total_signatures(&self) -> u64
Available on non-target_os=solana only.
pub fn total_signatures(&self) -> u64
target_os=solana only.return total number of signature, treating pre-processor operations as signature
Sourcepub fn num_transaction_signatures(&self) -> u64
Available on non-target_os=solana only.
pub fn num_transaction_signatures(&self) -> u64
target_os=solana only.return the number of transaction signatures
Sourcepub fn num_secp256k1_instruction_signatures(&self) -> u64
Available on non-target_os=solana only.
pub fn num_secp256k1_instruction_signatures(&self) -> u64
target_os=solana only.return the number of secp256k1 instruction signatures
Sourcepub fn num_ed25519_instruction_signatures(&self) -> u64
Available on non-target_os=solana only.
pub fn num_ed25519_instruction_signatures(&self) -> u64
target_os=solana only.return the number of ed25519 instruction signatures
Sourcepub fn num_secp256r1_instruction_signatures(&self) -> u64
Available on non-target_os=solana only.
pub fn num_secp256r1_instruction_signatures(&self) -> u64
target_os=solana only.return the number of secp256r1 instruction signatures
Trait Implementations§
Source§impl Clone for TransactionSignatureDetails
Available on non-target_os=solana only.
impl Clone for TransactionSignatureDetails
Available on non-
target_os=solana only.Source§fn clone(&self) -> TransactionSignatureDetails
fn clone(&self) -> TransactionSignatureDetails
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 TransactionSignatureDetails
Available on non-target_os=solana only.
impl Debug for TransactionSignatureDetails
Available on non-
target_os=solana only.Source§impl Default for TransactionSignatureDetails
Available on non-target_os=solana only.
impl Default for TransactionSignatureDetails
Available on non-
target_os=solana only.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> 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