pub enum MoneyValue {
Float(f64),
Int(i64),
}Variants§
Trait Implementations§
Source§impl From<&str> for MoneyValue
impl From<&str> for MoneyValue
Source§impl From<f64> for MoneyValue
impl From<f64> for MoneyValue
Auto Trait Implementations§
impl Freeze for MoneyValue
impl RefUnwindSafe for MoneyValue
impl Send for MoneyValue
impl Sync for MoneyValue
impl Unpin for MoneyValue
impl UnsafeUnpin for MoneyValue
impl UnwindSafe for MoneyValue
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