pub struct UsageTrend {
pub period: TrendPeriod,
pub data_points: Vec<TrendDataPoint>,
pub growth_rate: f64,
pub predicted_usage: Option<u64>,
}Expand description
Usage trend data
Fields§
§period: TrendPeriodTrend period
data_points: Vec<TrendDataPoint>Data points
growth_rate: f64Growth rate (percentage)
predicted_usage: Option<u64>Predicted usage for next period
Trait Implementations§
Source§impl Clone for UsageTrend
impl Clone for UsageTrend
Auto Trait Implementations§
impl Freeze for UsageTrend
impl RefUnwindSafe for UsageTrend
impl Send for UsageTrend
impl Sync for UsageTrend
impl Unpin for UsageTrend
impl UnsafeUnpin for UsageTrend
impl UnwindSafe for UsageTrend
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