Struct okane_core::repl::expr::Amount
source · pub struct Amount {
pub value: PrettyDecimal,
pub commodity: String,
}Expand description
Amount with presentation information.
Similar to datamodel::Amount with extra formatting information.
Fields§
§value: PrettyDecimal§commodity: StringTrait Implementations§
source§impl PartialEq for Amount
impl PartialEq for Amount
impl Eq for Amount
impl StructuralPartialEq for Amount
Auto Trait Implementations§
impl RefUnwindSafe for Amount
impl Send for Amount
impl Sync for Amount
impl Unpin for Amount
impl UnwindSafe for Amount
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