pub struct CustomerCostBucket {
pub subtotal: String,
pub total: String,
pub timeframe_start: OffsetDateTime,
pub timeframe_end: OffsetDateTime,
pub per_price_costs: Vec<CustomerCostPriceBlock>,
}Expand description
A group of costs for a given timeframe.
Fields§
§subtotal: StringTotal costs for the timeframe, excluding any minimums and discounts.
total: StringTotal costs for the timeframe, including any minimums and discounts.
timeframe_start: OffsetDateTimeThe starting point for the timeframe.
timeframe_end: OffsetDateTimeThe ending point for the timeframe.
per_price_costs: Vec<CustomerCostPriceBlock>The costs for each price.
Trait Implementations§
Source§impl Clone for CustomerCostBucket
impl Clone for CustomerCostBucket
Source§fn clone(&self) -> CustomerCostBucket
fn clone(&self) -> CustomerCostBucket
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 CustomerCostBucket
impl Debug for CustomerCostBucket
Source§impl<'de> Deserialize<'de> for CustomerCostBucket
impl<'de> Deserialize<'de> for CustomerCostBucket
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 CustomerCostBucket
impl Hash for CustomerCostBucket
Source§impl PartialEq for CustomerCostBucket
impl PartialEq for CustomerCostBucket
Source§impl Serialize for CustomerCostBucket
impl Serialize for CustomerCostBucket
impl Eq for CustomerCostBucket
impl StructuralPartialEq for CustomerCostBucket
Auto Trait Implementations§
impl Freeze for CustomerCostBucket
impl RefUnwindSafe for CustomerCostBucket
impl Send for CustomerCostBucket
impl Sync for CustomerCostBucket
impl Unpin for CustomerCostBucket
impl UnwindSafe for CustomerCostBucket
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.