pub struct TrendInfo {
pub metric_name: String,
pub direction: TrendDirection,
pub slope: f64,
pub correlation: f64,
pub volatility: f64,
pub recent_change: f64,
}Expand description
Information about a metric’s trend over time
Fields§
§metric_name: String§direction: TrendDirection§slope: f64§correlation: f64§volatility: f64§recent_change: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrendInfo
impl RefUnwindSafe for TrendInfo
impl Send for TrendInfo
impl Sync for TrendInfo
impl Unpin for TrendInfo
impl UnwindSafe for TrendInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more