pub struct PricePreviewDetails {
pub line_items: Vec<PricePreviewLineItem>,
}
Expand description
Calculated totals for a price preview, including discounts, tax, and currency conversion.
Fields§
§line_items: Vec<PricePreviewLineItem>
Trait Implementations§
Source§impl Clone for PricePreviewDetails
impl Clone for PricePreviewDetails
Source§fn clone(&self) -> PricePreviewDetails
fn clone(&self) -> PricePreviewDetails
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 PricePreviewDetails
impl Debug for PricePreviewDetails
Source§impl<'de> Deserialize<'de> for PricePreviewDetails
impl<'de> Deserialize<'de> for PricePreviewDetails
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 PricePreviewDetails
impl RefUnwindSafe for PricePreviewDetails
impl Send for PricePreviewDetails
impl Sync for PricePreviewDetails
impl Unpin for PricePreviewDetails
impl UnwindSafe for PricePreviewDetails
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