pub struct UsageReport {
pub label: String,
pub since: Option<DateTime<Utc>>,
pub until: DateTime<Utc>,
pub rows: Vec<UsageReportRow>,
pub summary_rows: Vec<SummaryReportRow>,
pub subscription_rows: Vec<SubscriptionReportRow>,
pub total_events: u64,
pub total_usage: UsageTotals,
pub total_summary_usage: UsageTotals,
}Fields§
§label: String§since: Option<DateTime<Utc>>§until: DateTime<Utc>§rows: Vec<UsageReportRow>§summary_rows: Vec<SummaryReportRow>§subscription_rows: Vec<SubscriptionReportRow>§total_events: u64§total_usage: UsageTotals§total_summary_usage: UsageTotalsTrait Implementations§
Source§impl Clone for UsageReport
impl Clone for UsageReport
Source§fn clone(&self) -> UsageReport
fn clone(&self) -> UsageReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UsageReport
impl RefUnwindSafe for UsageReport
impl Send for UsageReport
impl Sync for UsageReport
impl Unpin for UsageReport
impl UnsafeUnpin for UsageReport
impl UnwindSafe for UsageReport
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