#[non_exhaustive]pub struct AggregatedVariablesImportanceMetricsBuilder { /* private fields */ }
Expand description
A builder for AggregatedVariablesImportanceMetrics
.
Implementations§
source§impl AggregatedVariablesImportanceMetricsBuilder
impl AggregatedVariablesImportanceMetricsBuilder
sourcepub fn log_odds_metrics(self, input: AggregatedLogOddsMetric) -> Self
pub fn log_odds_metrics(self, input: AggregatedLogOddsMetric) -> Self
Appends an item to log_odds_metrics
.
To override the contents of this collection use set_log_odds_metrics
.
List of variables' metrics.
sourcepub fn set_log_odds_metrics(
self,
input: Option<Vec<AggregatedLogOddsMetric>>
) -> Self
pub fn set_log_odds_metrics( self, input: Option<Vec<AggregatedLogOddsMetric>> ) -> Self
List of variables' metrics.
sourcepub fn get_log_odds_metrics(&self) -> &Option<Vec<AggregatedLogOddsMetric>>
pub fn get_log_odds_metrics(&self) -> &Option<Vec<AggregatedLogOddsMetric>>
List of variables' metrics.
sourcepub fn build(self) -> AggregatedVariablesImportanceMetrics
pub fn build(self) -> AggregatedVariablesImportanceMetrics
Consumes the builder and constructs a AggregatedVariablesImportanceMetrics
.
Trait Implementations§
source§impl Clone for AggregatedVariablesImportanceMetricsBuilder
impl Clone for AggregatedVariablesImportanceMetricsBuilder
source§fn clone(&self) -> AggregatedVariablesImportanceMetricsBuilder
fn clone(&self) -> AggregatedVariablesImportanceMetricsBuilder
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 Default for AggregatedVariablesImportanceMetricsBuilder
impl Default for AggregatedVariablesImportanceMetricsBuilder
source§fn default() -> AggregatedVariablesImportanceMetricsBuilder
fn default() -> AggregatedVariablesImportanceMetricsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AggregatedVariablesImportanceMetricsBuilder
impl PartialEq for AggregatedVariablesImportanceMetricsBuilder
source§fn eq(&self, other: &AggregatedVariablesImportanceMetricsBuilder) -> bool
fn eq(&self, other: &AggregatedVariablesImportanceMetricsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AggregatedVariablesImportanceMetricsBuilder
Auto Trait Implementations§
impl Freeze for AggregatedVariablesImportanceMetricsBuilder
impl RefUnwindSafe for AggregatedVariablesImportanceMetricsBuilder
impl Send for AggregatedVariablesImportanceMetricsBuilder
impl Sync for AggregatedVariablesImportanceMetricsBuilder
impl Unpin for AggregatedVariablesImportanceMetricsBuilder
impl UnwindSafe for AggregatedVariablesImportanceMetricsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.