Struct solana_runtime::epoch_stakes::EpochStakes [−][src]
pub struct EpochStakes { /* fields omitted */ }
Implementations
impl EpochStakes
[src]
impl EpochStakes
[src]pub fn new(stakes: &Stakes, leader_schedule_epoch: Epoch) -> Self
[src]
pub fn stakes(&self) -> &Stakes
[src]
pub fn total_stake(&self) -> u64
[src]
pub fn node_id_to_vote_accounts(&self) -> &Arc<NodeIdToVoteAccounts>
[src]
pub fn epoch_authorized_voters(&self) -> &Arc<EpochAuthorizedVoters>
[src]
pub fn vote_account_stake(&self, vote_account: &Pubkey) -> u64
[src]
Trait Implementations
impl AbiExample for EpochStakes
[src]
impl AbiExample for EpochStakes
[src]impl Clone for EpochStakes
[src]
impl Clone for EpochStakes
[src]fn clone(&self) -> EpochStakes
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for EpochStakes
[src]
impl<'de> Deserialize<'de> for EpochStakes
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<EpochStakes> for EpochStakes
[src]
impl PartialEq<EpochStakes> for EpochStakes
[src]fn eq(&self, other: &EpochStakes) -> bool
[src]
fn ne(&self, other: &EpochStakes) -> bool
[src]
impl Serialize for EpochStakes
[src]
impl Serialize for EpochStakes
[src]impl StructuralPartialEq for EpochStakes
[src]
impl StructuralPartialEq for EpochStakes
[src]Auto Trait Implementations
impl !RefUnwindSafe for EpochStakes
impl !RefUnwindSafe for EpochStakes
impl Send for EpochStakes
impl Send for EpochStakes
impl Sync for EpochStakes
impl Sync for EpochStakes
impl Unpin for EpochStakes
impl Unpin for EpochStakes
impl !UnwindSafe for EpochStakes
impl !UnwindSafe for EpochStakes
Blanket Implementations
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
[src]
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
[src]pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
[src]
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
[src]
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
[src]pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
[src]
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for 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>,