pub struct UsageRecordSummary {
pub id: UsageRecordSummaryId,
pub invoice: Option<String>,
pub livemode: bool,
pub period: Period,
pub subscription_item: String,
pub total_usage: i64,
}Available on crate feature
billing only.Expand description
The resource representing a Stripe “UsageRecordSummary”.
Fields§
§id: UsageRecordSummaryIdUnique identifier for the object.
invoice: Option<String>The invoice in which this usage period has been billed for.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
period: Period§subscription_item: StringThe ID of the subscription item this summary is describing.
total_usage: i64The total usage within this usage period.
Trait Implementations§
Source§impl Clone for UsageRecordSummary
impl Clone for UsageRecordSummary
Source§fn clone(&self) -> UsageRecordSummary
fn clone(&self) -> UsageRecordSummary
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 UsageRecordSummary
impl Debug for UsageRecordSummary
Source§impl Default for UsageRecordSummary
impl Default for UsageRecordSummary
Source§fn default() -> UsageRecordSummary
fn default() -> UsageRecordSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageRecordSummary
impl<'de> Deserialize<'de> for UsageRecordSummary
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 Object for UsageRecordSummary
impl Object for UsageRecordSummary
Auto Trait Implementations§
impl Freeze for UsageRecordSummary
impl RefUnwindSafe for UsageRecordSummary
impl Send for UsageRecordSummary
impl Sync for UsageRecordSummary
impl Unpin for UsageRecordSummary
impl UnwindSafe for UsageRecordSummary
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