Struct solana_streamer::streamer::StakedNodes
source · pub struct StakedNodes {
stakes: Arc<HashMap<Pubkey, u64>>,
overrides: HashMap<Pubkey, u64>,
total_stake: u64,
max_stake: u64,
min_stake: u64,
}
Fields§
§stakes: Arc<HashMap<Pubkey, u64>>
§overrides: HashMap<Pubkey, u64>
§total_stake: u64
§max_stake: u64
§min_stake: u64
Implementations§
source§impl StakedNodes
impl StakedNodes
Trait Implementations§
source§impl Default for StakedNodes
impl Default for StakedNodes
source§fn default() -> StakedNodes
fn default() -> StakedNodes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for StakedNodes
impl Send for StakedNodes
impl Sync for StakedNodes
impl Unpin for StakedNodes
impl UnwindSafe for StakedNodes
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more