pub struct NormalizedQuantity {
pub value: Decimal,
pub unit: String,
}Fields§
§value: Decimal§unit: StringTrait Implementations§
Source§impl Clone for NormalizedQuantity
impl Clone for NormalizedQuantity
Source§fn clone(&self) -> NormalizedQuantity
fn clone(&self) -> NormalizedQuantity
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 NormalizedQuantity
impl Debug for NormalizedQuantity
Source§impl PartialEq for NormalizedQuantity
impl PartialEq for NormalizedQuantity
impl Eq for NormalizedQuantity
impl StructuralPartialEq for NormalizedQuantity
Auto Trait Implementations§
impl Freeze for NormalizedQuantity
impl RefUnwindSafe for NormalizedQuantity
impl Send for NormalizedQuantity
impl Sync for NormalizedQuantity
impl Unpin for NormalizedQuantity
impl UnwindSafe for NormalizedQuantity
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