Struct solana_runtime::bank::NoncePartial
source · [−]pub struct NoncePartial { /* private fields */ }
Expand description
Holds limited nonce info available during transaction checks
Implementations
sourceimpl NoncePartial
impl NoncePartial
pub fn new(address: Pubkey, account: AccountSharedData) -> Self
Trait Implementations
sourceimpl Clone for NoncePartial
impl Clone for NoncePartial
sourcefn clone(&self) -> NoncePartial
fn clone(&self) -> NoncePartial
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NoncePartial
impl Debug for NoncePartial
sourceimpl Default for NoncePartial
impl Default for NoncePartial
sourcefn default() -> NoncePartial
fn default() -> NoncePartial
Returns the “default value” for a type. Read more
sourceimpl 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>
sourceimpl PartialEq<NoncePartial> for NoncePartial
impl PartialEq<NoncePartial> for NoncePartial
sourcefn eq(&self, other: &NoncePartial) -> bool
fn eq(&self, other: &NoncePartial) -> bool
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
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.