pub enum MlFeatureRole {
Input,
Target,
Weight,
Group,
Timestamp,
Identifier,
Metadata,
Ignore,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MlFeatureRole
impl Clone for MlFeatureRole
Source§fn clone(&self) -> MlFeatureRole
fn clone(&self) -> MlFeatureRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MlFeatureRole
impl Debug for MlFeatureRole
Source§impl Display for MlFeatureRole
impl Display for MlFeatureRole
Source§impl FromStr for MlFeatureRole
impl FromStr for MlFeatureRole
Source§type Err = MlFeatureError
type Err = MlFeatureError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<MlFeatureRole, <MlFeatureRole as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MlFeatureRole, <MlFeatureRole as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for MlFeatureRole
impl Hash for MlFeatureRole
Source§impl Ord for MlFeatureRole
impl Ord for MlFeatureRole
Source§fn cmp(&self, other: &MlFeatureRole) -> Ordering
fn cmp(&self, other: &MlFeatureRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MlFeatureRole
impl PartialEq for MlFeatureRole
Source§fn eq(&self, other: &MlFeatureRole) -> bool
fn eq(&self, other: &MlFeatureRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlFeatureRole
impl PartialOrd for MlFeatureRole
impl Copy for MlFeatureRole
impl Eq for MlFeatureRole
impl StructuralPartialEq for MlFeatureRole
Auto Trait Implementations§
impl Freeze for MlFeatureRole
impl RefUnwindSafe for MlFeatureRole
impl Send for MlFeatureRole
impl Sync for MlFeatureRole
impl Unpin for MlFeatureRole
impl UnsafeUnpin for MlFeatureRole
impl UnwindSafe for MlFeatureRole
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