Struct solana_runtime::vote_account::VoteAccount [−][src]
pub struct VoteAccount { /* fields omitted */ }
Implementations
impl VoteAccount
[src]
impl VoteAccount
[src]pub fn lamports(&self) -> u64
[src]
pub fn vote_state(
&self
) -> RwLockReadGuard<'_, Result<VoteState, InstructionError>>
[src]
&self
) -> RwLockReadGuard<'_, Result<VoteState, InstructionError>>
Trait Implementations
impl AbiExample for VoteAccount
[src]
impl AbiExample for VoteAccount
[src]impl Debug for VoteAccount
[src]
impl Debug for VoteAccount
[src]impl Default for VoteAccount
[src]
impl Default for VoteAccount
[src]impl From<Account> for VoteAccount
[src]
impl From<Account> for VoteAccount
[src]impl From<AccountSharedData> for VoteAccount
[src]
impl From<AccountSharedData> for VoteAccount
[src]fn from(account: AccountSharedData) -> Self
[src]
fn from(account: AccountSharedData) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for VoteAccount
impl Send for VoteAccount
impl Sync for VoteAccount
impl Unpin for VoteAccount
impl !UnwindSafe for VoteAccount
Blanket Implementations
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,