pub struct ProductAmount {
pub price_amount: Option<Price>,
pub remitted_tax_amount: Option<Price>,
pub tax_amount: Option<Price>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§price_amount: Option<Price>The pre-tax or post-tax price depending on the location of the order.
remitted_tax_amount: Option<Price>Remitted tax value.
tax_amount: Option<Price>Tax value.
Trait Implementations§
Source§impl Clone for ProductAmount
impl Clone for ProductAmount
Source§fn clone(&self) -> ProductAmount
fn clone(&self) -> ProductAmount
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 ProductAmount
impl Debug for ProductAmount
Source§impl Default for ProductAmount
impl Default for ProductAmount
Source§fn default() -> ProductAmount
fn default() -> ProductAmount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductAmount
impl<'de> Deserialize<'de> for ProductAmount
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 Serialize for ProductAmount
impl Serialize for ProductAmount
impl Part for ProductAmount
Auto Trait Implementations§
impl Freeze for ProductAmount
impl RefUnwindSafe for ProductAmount
impl Send for ProductAmount
impl Sync for ProductAmount
impl Unpin for ProductAmount
impl UnwindSafe for ProductAmount
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