#[non_exhaustive]pub enum FeatureSelection {
None,
All,
Families {
families: Vec<ObjectTypeName>,
},
}Expand description
Feature extraction selection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
Do not extract features.
All
Extract all built-in feature families.
Families
Extract selected feature families.
Fields
§
families: Vec<ObjectTypeName>Selected validation-model family names.
Implementations§
Source§impl FeatureSelection
impl FeatureSelection
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Returns true when feature extraction is enabled.
Trait Implementations§
Source§impl Clone for FeatureSelection
impl Clone for FeatureSelection
Source§fn clone(&self) -> FeatureSelection
fn clone(&self) -> FeatureSelection
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 FeatureSelection
impl Debug for FeatureSelection
Source§impl Default for FeatureSelection
impl Default for FeatureSelection
Source§fn default() -> FeatureSelection
fn default() -> FeatureSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeatureSelection
impl<'de> Deserialize<'de> for FeatureSelection
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
Source§impl PartialEq for FeatureSelection
impl PartialEq for FeatureSelection
Source§fn eq(&self, other: &FeatureSelection) -> bool
fn eq(&self, other: &FeatureSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FeatureSelection
impl Serialize for FeatureSelection
impl Eq for FeatureSelection
impl StructuralPartialEq for FeatureSelection
Auto Trait Implementations§
impl Freeze for FeatureSelection
impl RefUnwindSafe for FeatureSelection
impl Send for FeatureSelection
impl Sync for FeatureSelection
impl Unpin for FeatureSelection
impl UnsafeUnpin for FeatureSelection
impl UnwindSafe for FeatureSelection
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