#[non_exhaustive]pub enum Method {
GoodTotalRatio(Box<TimeSeriesRatio>),
DistributionCut(Box<DistributionCut>),
}Expand description
The means to compute a ratio of good_service to total_service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GoodTotalRatio(Box<TimeSeriesRatio>)
good_total_ratio is used when the ratio of good_service to
total_service is computed from two TimeSeries.
DistributionCut(Box<DistributionCut>)
distribution_cut is used when good_service is a count of values
aggregated in a Distribution that fall into a good range. The
total_service is the total count of all values aggregated in the
Distribution.
Trait Implementations§
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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