Struct solana_runtime::bank::NoncePartial
source · pub struct NoncePartial { /* private fields */ }
Expand description
Holds limited nonce info available during transaction checks
Implementations§
source§impl NoncePartial
impl NoncePartial
pub fn new(address: Pubkey, account: AccountSharedData) -> Self
Trait Implementations§
source§impl Clone for NoncePartial
impl Clone for NoncePartial
source§fn clone(&self) -> NoncePartial
fn clone(&self) -> NoncePartial
Returns a copy 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 NoncePartial
impl Debug for NoncePartial
source§impl Default for NoncePartial
impl Default for NoncePartial
source§fn default() -> NoncePartial
fn default() -> NoncePartial
Returns the “default value” for a type. Read more
source§impl NonceInfo for NoncePartial
impl NonceInfo for NoncePartial
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<NoncePartial> for NoncePartial
impl PartialEq<NoncePartial> for NoncePartial
source§fn eq(&self, other: &NoncePartial) -> bool
fn eq(&self, other: &NoncePartial) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NoncePartial
impl StructuralEq for NoncePartial
impl StructuralPartialEq for NoncePartial
Auto Trait Implementations§
impl RefUnwindSafe for NoncePartial
impl Send for NoncePartial
impl Sync for NoncePartial
impl Unpin for NoncePartial
impl UnwindSafe for NoncePartial
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.