pub struct Fee(/* private fields */);
Expand description
Fee as a fraction
Implementations§
Trait Implementations§
source§impl Add<Fee> for BaseCurrency
impl Add<Fee> for BaseCurrency
source§impl Add<Fee> for QuoteCurrency
impl Add<Fee> for QuoteCurrency
source§impl Mul<Fee> for BaseCurrency
impl Mul<Fee> for BaseCurrency
source§impl Mul<Fee> for QuoteCurrency
impl Mul<Fee> for QuoteCurrency
impl Copy for Fee
impl StructuralPartialEq for Fee
Auto Trait Implementations§
impl Freeze for Fee
impl RefUnwindSafe for Fee
impl Send for Fee
impl Sync for Fee
impl Unpin for Fee
impl UnwindSafe for Fee
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