Struct solana_runtime::rent_collector::RentCollector
source · pub struct RentCollector {
pub epoch: Epoch,
pub epoch_schedule: EpochSchedule,
pub slots_per_year: f64,
pub rent: Rent,
}
Fields§
§epoch: Epoch
§epoch_schedule: EpochSchedule
§slots_per_year: f64
§rent: Rent
Trait Implementations§
source§impl AbiExample for RentCollector
impl AbiExample for RentCollector
source§impl Clone for RentCollector
impl Clone for RentCollector
source§fn clone(&self) -> RentCollector
fn clone(&self) -> RentCollector
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 RentCollector
impl Debug for RentCollector
source§impl Default for RentCollector
impl Default for RentCollector
source§impl<'de> Deserialize<'de> for RentCollector
impl<'de> Deserialize<'de> for RentCollector
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<RentCollector> for RentCollector
impl PartialEq<RentCollector> for RentCollector
source§fn eq(&self, other: &RentCollector) -> bool
fn eq(&self, other: &RentCollector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.