pub enum PredictorKind {
Linear,
Quadratic,
Cubic,
Ewma,
HoldLast,
}Expand description
The predictor kinds allowed in v1 schemas.
Variants§
Implementations§
Source§impl PredictorKind
impl PredictorKind
pub const fn min_samples(self) -> usize
Trait Implementations§
Source§impl Clone for PredictorKind
impl Clone for PredictorKind
impl Copy for PredictorKind
Source§impl Debug for PredictorKind
impl Debug for PredictorKind
impl Eq for PredictorKind
Source§impl PartialEq for PredictorKind
impl PartialEq for PredictorKind
impl StructuralPartialEq for PredictorKind
Auto Trait Implementations§
impl Freeze for PredictorKind
impl RefUnwindSafe for PredictorKind
impl Send for PredictorKind
impl Sync for PredictorKind
impl Unpin for PredictorKind
impl UnsafeUnpin for PredictorKind
impl UnwindSafe for PredictorKind
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