pub struct UsageAnalyticsView {
pub end: Option<String>,
pub export: Option<bool>,
pub plan: Option<String>,
pub providers: Option<Box<ProviderBreakdown>>,
pub range: Option<String>,
pub retention_days: Option<i32>,
pub scope: Option<Box<UsageScope>>,
pub start: Option<String>,
}Fields§
§end: Option<String>End is the window’s exclusive end, RFC3339 UTC.
export: Option<bool>Export is whether the resolved plan allows exporting these rows.
plan: Option<String>Plan echoes the plan id the entitlement was resolved from.
providers: Option<Box<ProviderBreakdown>>Providers is the per-provider roll-up over the window.
range: Option<String>Range is the label that was ASKED for. A plan whose retention is shorter than that window is served the retention instead, so read start and end for the window the rows actually cover and retentionDays for the reason — on a clamped read the label is longer than what was served.
retention_days: Option<i32>RetentionDays is how far back the resolved plan allows reading.
scope: Option<Box<UsageScope>>Scope is the tenant the rows were read under — the validated principal’s org.
start: Option<String>Start is the window’s inclusive start, RFC3339 UTC, AFTER the retention clamp — so it may be later than the start that was asked for.
Implementations§
Source§impl UsageAnalyticsView
impl UsageAnalyticsView
pub fn new() -> UsageAnalyticsView
Trait Implementations§
Source§impl Clone for UsageAnalyticsView
impl Clone for UsageAnalyticsView
Source§fn clone(&self) -> UsageAnalyticsView
fn clone(&self) -> UsageAnalyticsView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more