Struct solana_runtime::bank::NonceFull
source · pub struct NonceFull { /* private fields */ }
Expand description
Holds fee subtracted nonce info
Implementations§
source§impl NonceFull
impl NonceFull
pub fn new( address: Pubkey, account: AccountSharedData, fee_payer_account: Option<AccountSharedData> ) -> Self
pub fn from_partial( partial: NoncePartial, message: &SanitizedMessage, accounts: &[TransactionAccount], rent_debits: &RentDebits ) -> Result<Self>
Trait Implementations§
source§impl From<&NonceFull> for DurableNonceFee
impl From<&NonceFull> for DurableNonceFee
source§impl NonceInfo for NonceFull
impl NonceInfo for NonceFull
fn address(&self) -> &Pubkey
fn account(&self) -> &AccountSharedData
fn lamports_per_signature(&self) -> Option<u64>
fn fee_payer_account(&self) -> Option<&AccountSharedData>
source§impl PartialEq<NonceFull> for NonceFull
impl PartialEq<NonceFull> for NonceFull
impl Eq for NonceFull
impl StructuralEq for NonceFull
impl StructuralPartialEq for NonceFull
Auto Trait Implementations§
impl RefUnwindSafe for NonceFull
impl Send for NonceFull
impl Sync for NonceFull
impl Unpin for NonceFull
impl UnwindSafe for NonceFull
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.