pub struct PerformanceTrend {
pub rule_name: String,
pub trend: TrendDirection,
pub change_percentage: f64,
pub period: Duration,
}Expand description
Performance trend analysis
Fields§
§rule_name: StringRule name
trend: TrendDirectionTrend direction: Improving, Degrading, Stable
change_percentage: f64Percentage change in performance
period: DurationTime period of this trend
Trait Implementations§
Source§impl Clone for PerformanceTrend
impl Clone for PerformanceTrend
Source§fn clone(&self) -> PerformanceTrend
fn clone(&self) -> PerformanceTrend
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 PerformanceTrend
impl Debug for PerformanceTrend
Source§impl<'de> Deserialize<'de> for PerformanceTrend
impl<'de> Deserialize<'de> for PerformanceTrend
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
Auto Trait Implementations§
impl Freeze for PerformanceTrend
impl RefUnwindSafe for PerformanceTrend
impl Send for PerformanceTrend
impl Sync for PerformanceTrend
impl Unpin for PerformanceTrend
impl UnwindSafe for PerformanceTrend
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