pub struct RegressionResult {
pub slope: f64,
pub intercept: f64,
pub r_squared: f64,
}Expand description
Regression result
Fields§
§slope: f64§intercept: f64§r_squared: f64Trait Implementations§
Source§impl Clone for RegressionResult
impl Clone for RegressionResult
Source§fn clone(&self) -> RegressionResult
fn clone(&self) -> RegressionResult
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 RegressionResult
impl Debug for RegressionResult
Source§impl<'de> Deserialize<'de> for RegressionResult
impl<'de> Deserialize<'de> for RegressionResult
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 RegressionResult
impl RefUnwindSafe for RegressionResult
impl Send for RegressionResult
impl Sync for RegressionResult
impl Unpin for RegressionResult
impl UnwindSafe for RegressionResult
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