Struct solana_runtime::rent_debits::RentDebit
source · pub(crate) struct RentDebit {
rent_collected: u64,
post_balance: u64,
}
Fields§
§rent_collected: u64
§post_balance: u64
Implementations§
source§impl RentDebit
impl RentDebit
fn try_into_reward_info(self) -> Option<RewardInfo>
Trait Implementations§
source§impl PartialEq<RentDebit> for RentDebit
impl PartialEq<RentDebit> for RentDebit
impl Eq for RentDebit
impl StructuralEq for RentDebit
impl StructuralPartialEq for RentDebit
Auto Trait Implementations§
impl RefUnwindSafe for RentDebit
impl Send for RentDebit
impl Sync for RentDebit
impl Unpin for RentDebit
impl UnwindSafe for RentDebit
Blanket Implementations§
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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.