pub struct RegressionConfig {
pub method: RegressionMethod,
pub order: Option<u8>,
pub extra: Option<Value>,
}
Expand description
Configuration for regression transforms
Fields§
§method: RegressionMethod
Regression method
order: Option<u8>
Polynomial order (only used when the method is Polynomial)
extra: Option<Value>
Additional raw regression config options
Trait Implementations§
Source§impl Clone for RegressionConfig
impl Clone for RegressionConfig
Source§fn clone(&self) -> RegressionConfig
fn clone(&self) -> RegressionConfig
Returns a copy 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 RegressionConfig
impl Debug for RegressionConfig
Source§impl<'de> Deserialize<'de> for RegressionConfig
impl<'de> Deserialize<'de> for RegressionConfig
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 RegressionConfig
impl RefUnwindSafe for RegressionConfig
impl Send for RegressionConfig
impl Sync for RegressionConfig
impl Unpin for RegressionConfig
impl UnwindSafe for RegressionConfig
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