#[non_exhaustive]pub struct CategoricalHyperParameterRange {
pub name: Option<String>,
pub values: Option<Vec<String>>,
}Expand description
Provides the name and range of a categorical hyperparameter.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the hyperparameter.
values: Option<Vec<String>>A list of the categories for the hyperparameter.
Implementations§
source§impl CategoricalHyperParameterRange
impl CategoricalHyperParameterRange
sourcepub fn builder() -> CategoricalHyperParameterRangeBuilder
pub fn builder() -> CategoricalHyperParameterRangeBuilder
Creates a new builder-style object to manufacture CategoricalHyperParameterRange.
Trait Implementations§
source§impl Clone for CategoricalHyperParameterRange
impl Clone for CategoricalHyperParameterRange
source§fn clone(&self) -> CategoricalHyperParameterRange
fn clone(&self) -> CategoricalHyperParameterRange
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 PartialEq<CategoricalHyperParameterRange> for CategoricalHyperParameterRange
impl PartialEq<CategoricalHyperParameterRange> for CategoricalHyperParameterRange
source§fn eq(&self, other: &CategoricalHyperParameterRange) -> bool
fn eq(&self, other: &CategoricalHyperParameterRange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CategoricalHyperParameterRange
Auto Trait Implementations§
impl RefUnwindSafe for CategoricalHyperParameterRange
impl Send for CategoricalHyperParameterRange
impl Sync for CategoricalHyperParameterRange
impl Unpin for CategoricalHyperParameterRange
impl UnwindSafe for CategoricalHyperParameterRange
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