pub enum ForecastMethod {
MovingAverage,
ExponentialSmoothing,
LinearTrend,
}Expand description
Forecasting method.
Variants§
MovingAverage
Simple moving average.
ExponentialSmoothing
Exponential smoothing (single).
LinearTrend
Linear trend projection.
Implementations§
Trait Implementations§
Source§impl Clone for ForecastMethod
impl Clone for ForecastMethod
impl Copy for ForecastMethod
Source§impl Debug for ForecastMethod
impl Debug for ForecastMethod
Source§impl<'de> Deserialize<'de> for ForecastMethod
impl<'de> Deserialize<'de> for ForecastMethod
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
impl Eq for ForecastMethod
Source§impl PartialEq for ForecastMethod
impl PartialEq for ForecastMethod
Source§impl Serialize for ForecastMethod
impl Serialize for ForecastMethod
impl StructuralPartialEq for ForecastMethod
Auto Trait Implementations§
impl Freeze for ForecastMethod
impl RefUnwindSafe for ForecastMethod
impl Send for ForecastMethod
impl Sync for ForecastMethod
impl Unpin for ForecastMethod
impl UnsafeUnpin for ForecastMethod
impl UnwindSafe for ForecastMethod
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