pub struct CustomerCostPriceBlock {
pub quantity: Option<Number>,
pub subtotal: String,
pub total: String,
pub price: CustomerCostPriceBlockPrice,
pub price_groups: Option<Vec<CustomerCostPriceBlockPriceGroup>>,
}Expand description
The cost for a given Price within a timeframe.
Fields§
§quantity: Option<Number>The price’s quantity for the timeframe.
subtotal: StringThe price’s contributions for the timeframe, excluding any minimums and discounts.
total: StringThe price’s contributions for the timeframe, including any minimums and discounts.
price: CustomerCostPriceBlockPriceThe price that can be billed on a subscription.
price_groups: Option<Vec<CustomerCostPriceBlockPriceGroup>>The price costs per grouping key.
Trait Implementations§
Source§impl Clone for CustomerCostPriceBlock
impl Clone for CustomerCostPriceBlock
Source§fn clone(&self) -> CustomerCostPriceBlock
fn clone(&self) -> CustomerCostPriceBlock
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 CustomerCostPriceBlock
impl Debug for CustomerCostPriceBlock
Source§impl<'de> Deserialize<'de> for CustomerCostPriceBlock
impl<'de> Deserialize<'de> for CustomerCostPriceBlock
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 Hash for CustomerCostPriceBlock
impl Hash for CustomerCostPriceBlock
Source§impl PartialEq for CustomerCostPriceBlock
impl PartialEq for CustomerCostPriceBlock
Source§impl Serialize for CustomerCostPriceBlock
impl Serialize for CustomerCostPriceBlock
impl Eq for CustomerCostPriceBlock
impl StructuralPartialEq for CustomerCostPriceBlock
Auto Trait Implementations§
impl Freeze for CustomerCostPriceBlock
impl RefUnwindSafe for CustomerCostPriceBlock
impl Send for CustomerCostPriceBlock
impl Sync for CustomerCostPriceBlock
impl Unpin for CustomerCostPriceBlock
impl UnwindSafe for CustomerCostPriceBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.