pub struct UnitPriceAmount(/* private fields */);Expand description
EN 16931 Unit Price Amount.Type — no 2-dp cap (example 10000.1234).
Implementations§
Trait Implementations§
Source§impl Clone for UnitPriceAmount
impl Clone for UnitPriceAmount
Source§fn clone(&self) -> UnitPriceAmount
fn clone(&self) -> UnitPriceAmount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnitPriceAmount
Source§impl Debug for UnitPriceAmount
impl Debug for UnitPriceAmount
Source§impl Display for UnitPriceAmount
impl Display for UnitPriceAmount
impl Eq for UnitPriceAmount
Source§impl Hash for UnitPriceAmount
impl Hash for UnitPriceAmount
Source§impl Ord for UnitPriceAmount
impl Ord for UnitPriceAmount
Source§fn cmp(&self, other: &UnitPriceAmount) -> Ordering
fn cmp(&self, other: &UnitPriceAmount) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for UnitPriceAmount
impl PartialEq for UnitPriceAmount
Source§impl PartialOrd for UnitPriceAmount
impl PartialOrd for UnitPriceAmount
impl StructuralPartialEq for UnitPriceAmount
Auto Trait Implementations§
impl Freeze for UnitPriceAmount
impl RefUnwindSafe for UnitPriceAmount
impl Send for UnitPriceAmount
impl Sync for UnitPriceAmount
impl Unpin for UnitPriceAmount
impl UnsafeUnpin for UnitPriceAmount
impl UnwindSafe for UnitPriceAmount
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