pub struct Price(pub f64);Tuple Fields§
§0: f64Trait Implementations§
Source§impl AddAssign for Price
impl AddAssign for Price
Source§fn add_assign(&mut self, rhs: Price)
fn add_assign(&mut self, rhs: Price)
Performs the
+= operation. Read moreSource§impl<'de> Deserialize<'de> for Price
impl<'de> Deserialize<'de> for Price
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialOrd for Price
impl PartialOrd for Price
Source§impl SubAssign for Price
impl SubAssign for Price
Source§fn sub_assign(&mut self, rhs: Price)
fn sub_assign(&mut self, rhs: Price)
Performs the
-= operation. Read moreimpl Copy for Price
impl Eq for Price
impl StructuralPartialEq for Price
Auto Trait Implementations§
impl Freeze for Price
impl RefUnwindSafe for Price
impl Send for Price
impl Sync for Price
impl Unpin for Price
impl UnwindSafe for Price
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