pub struct SpecialPrice {
pub merchandise_id: String,
pub account_id: String,
pub unit_price: f64,
}
Fields§
§merchandise_id: String
§account_id: String
§unit_price: f64
Trait Implementations§
Source§impl Clone for SpecialPrice
impl Clone for SpecialPrice
Source§fn clone(&self) -> SpecialPrice
fn clone(&self) -> SpecialPrice
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 SpecialPrice
impl Debug for SpecialPrice
Source§impl Default for SpecialPrice
impl Default for SpecialPrice
Source§fn default() -> SpecialPrice
fn default() -> SpecialPrice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpecialPricewhere
SpecialPrice: Default,
impl<'de> Deserialize<'de> for SpecialPricewhere
SpecialPrice: Default,
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
Auto Trait Implementations§
impl Freeze for SpecialPrice
impl RefUnwindSafe for SpecialPrice
impl Send for SpecialPrice
impl Sync for SpecialPrice
impl Unpin for SpecialPrice
impl UnwindSafe for SpecialPrice
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