Struct solana_runtime::bank::RentDebits
source · pub struct RentDebits(_);
Implementations§
source§impl RentDebits
impl RentDebits
pub fn insert(&mut self, address: &Pubkey, rent_collected: u64, post_balance: u64)
pub fn into_unordered_rewards_iter( self ) -> impl Iterator<Item = (Pubkey, RewardInfo)>
Trait Implementations§
source§impl Clone for RentDebits
impl Clone for RentDebits
source§fn clone(&self) -> RentDebits
fn clone(&self) -> RentDebits
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RentDebits
impl Debug for RentDebits
source§impl Default for RentDebits
impl Default for RentDebits
source§fn default() -> RentDebits
fn default() -> RentDebits
Returns the “default value” for a type. Read more
source§impl PartialEq<RentDebits> for RentDebits
impl PartialEq<RentDebits> for RentDebits
source§fn eq(&self, other: &RentDebits) -> bool
fn eq(&self, other: &RentDebits) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RentDebits
impl StructuralEq for RentDebits
impl StructuralPartialEq for RentDebits
Auto Trait Implementations§
impl RefUnwindSafe for RentDebits
impl Send for RentDebits
impl Sync for RentDebits
impl Unpin for RentDebits
impl UnwindSafe for RentDebits
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.