#[repr(C)]pub struct Rent {
pub lamports_per_byte_year: u64,
pub exemption_threshold: f64,
pub burn_percent: u8,
}Expand description
Rent sysvar data.
Fields§
§lamports_per_byte_year: u64§exemption_threshold: f64§burn_percent: u8Implementations§
Trait Implementations§
impl Copy for Rent
Auto Trait Implementations§
impl Freeze for Rent
impl RefUnwindSafe for Rent
impl Send for Rent
impl Sync for Rent
impl Unpin for Rent
impl UnsafeUnpin for Rent
impl UnwindSafe for Rent
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