pub struct EffectiveTotals {
pub supply: u128,
pub assets: u128,
}Expand description
Effective totals after applying virtual share/asset offsets.
Named fields prevent callers from confusing supply vs assets.
Fields§
§supply: u128§assets: u128Trait Implementations§
Source§impl Clone for EffectiveTotals
impl Clone for EffectiveTotals
Source§fn clone(&self) -> EffectiveTotals
fn clone(&self) -> EffectiveTotals
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 EffectiveTotals
impl Debug for EffectiveTotals
Source§impl PartialEq for EffectiveTotals
impl PartialEq for EffectiveTotals
impl Copy for EffectiveTotals
impl Eq for EffectiveTotals
impl StructuralPartialEq for EffectiveTotals
Auto Trait Implementations§
impl Freeze for EffectiveTotals
impl RefUnwindSafe for EffectiveTotals
impl Send for EffectiveTotals
impl Sync for EffectiveTotals
impl Unpin for EffectiveTotals
impl UnwindSafe for EffectiveTotals
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