pub enum SizeOrFunds {
Size(f64),
Funds(f64),
}Expand description
Size or Funds of Currency
Variants§
Trait Implementations§
Source§impl Clone for SizeOrFunds
impl Clone for SizeOrFunds
Source§fn clone(&self) -> SizeOrFunds
fn clone(&self) -> SizeOrFunds
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 SizeOrFunds
impl Debug for SizeOrFunds
Source§impl Serialize for SizeOrFunds
impl Serialize for SizeOrFunds
impl Copy for SizeOrFunds
Auto Trait Implementations§
impl Freeze for SizeOrFunds
impl RefUnwindSafe for SizeOrFunds
impl Send for SizeOrFunds
impl Sync for SizeOrFunds
impl Unpin for SizeOrFunds
impl UnwindSafe for SizeOrFunds
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