pub struct Iris {
pub sepal_length: f64,
pub sepal_width: f64,
pub petal_length: f64,
pub petal_width: f64,
pub species: Species,
}Expand description
This famous (Fisher’s or Anderson’s) iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, versicolor, and virginica.
Fields§
§sepal_length: f64Sepal length in cm
sepal_width: f64Sepal width in cm
petal_length: f64Petal length in cm
petal_width: f64Petal width in cm
species: SpeciesClass of iris plant
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Iris
impl<'de> Deserialize<'de> for Iris
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 StructuralPartialEq for Iris
Auto Trait Implementations§
impl Freeze for Iris
impl RefUnwindSafe for Iris
impl Send for Iris
impl Sync for Iris
impl Unpin for Iris
impl UnwindSafe for Iris
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