pub struct InvoiceAppliedUsageThreshold {
pub lifetime_usage_amount_cents: Option<i64>,
pub created_at: DateTime<Utc>,
pub usage_threshold: UsageThreshold,
}Expand description
Represents a usage threshold applied to an invoice.
This struct contains information about usage thresholds that have been triggered and applied to the invoice.
Fields§
§lifetime_usage_amount_cents: Option<i64>§created_at: DateTime<Utc>§usage_threshold: UsageThresholdTrait Implementations§
Source§impl Clone for InvoiceAppliedUsageThreshold
impl Clone for InvoiceAppliedUsageThreshold
Source§fn clone(&self) -> InvoiceAppliedUsageThreshold
fn clone(&self) -> InvoiceAppliedUsageThreshold
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 InvoiceAppliedUsageThreshold
impl Debug for InvoiceAppliedUsageThreshold
Source§impl<'de> Deserialize<'de> for InvoiceAppliedUsageThreshold
impl<'de> Deserialize<'de> for InvoiceAppliedUsageThreshold
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 InvoiceAppliedUsageThreshold
impl RefUnwindSafe for InvoiceAppliedUsageThreshold
impl Send for InvoiceAppliedUsageThreshold
impl Sync for InvoiceAppliedUsageThreshold
impl Unpin for InvoiceAppliedUsageThreshold
impl UnwindSafe for InvoiceAppliedUsageThreshold
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