pub struct CloseDistribution {
pub to_rent_sponsor: u64,
pub to_user: u64,
}Expand description
Distribution of lamports when closing an account
Fields§
§to_rent_sponsor: u64Lamports going to rent sponsor (completed epochs)
to_user: u64Lamports returned to user (partial epoch)
Trait Implementations§
Source§impl Clone for CloseDistribution
impl Clone for CloseDistribution
Source§fn clone(&self) -> CloseDistribution
fn clone(&self) -> CloseDistribution
Returns a duplicate 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 CloseDistribution
impl Debug for CloseDistribution
impl Copy for CloseDistribution
Auto Trait Implementations§
impl Freeze for CloseDistribution
impl RefUnwindSafe for CloseDistribution
impl Send for CloseDistribution
impl Sync for CloseDistribution
impl Unpin for CloseDistribution
impl UnwindSafe for CloseDistribution
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