pub struct WeiRounding {
pub scale: f64,
pub wei_per_scaled: u128,
}Fields§
§scale: f64§wei_per_scaled: u128Trait Implementations§
Source§impl Clone for WeiRounding
impl Clone for WeiRounding
Source§fn clone(&self) -> WeiRounding
fn clone(&self) -> WeiRounding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WeiRounding
Source§impl Debug for WeiRounding
impl Debug for WeiRounding
Source§impl PartialEq for WeiRounding
impl PartialEq for WeiRounding
impl StructuralPartialEq for WeiRounding
Auto Trait Implementations§
impl Freeze for WeiRounding
impl RefUnwindSafe for WeiRounding
impl Send for WeiRounding
impl Sync for WeiRounding
impl Unpin for WeiRounding
impl UnsafeUnpin for WeiRounding
impl UnwindSafe for WeiRounding
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