pub struct PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown {
pub discounts: Vec<LineItemsDiscountAmount>,
pub taxes: Vec<LineItemsTaxAmount>,
}
Fields§
§discounts: Vec<LineItemsDiscountAmount>
The aggregated discounts.
taxes: Vec<LineItemsTaxAmount>
The aggregated tax amounts by rate.
Trait Implementations§
source§impl Clone for PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
impl Clone for PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
source§fn clone(&self) -> PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
fn clone(&self) -> PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
Returns a copy 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 Default for PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
impl Default for PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
source§fn default() -> PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
fn default() -> PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
impl<'de> Deserialize<'de> for PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown
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