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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NoncePartial) -> bool
fn ne(&self, other: &NoncePartial) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more