#[non_exhaustive]pub struct DataValidationMetricsBuilder { /* private fields */ }
Expand description
A builder for DataValidationMetrics
.
Implementations§
source§impl DataValidationMetricsBuilder
impl DataValidationMetricsBuilder
sourcepub fn file_level_messages(self, input: FileValidationMessage) -> Self
pub fn file_level_messages(self, input: FileValidationMessage) -> Self
Appends an item to file_level_messages
.
To override the contents of this collection use set_file_level_messages
.
The file-specific model training data validation messages.
sourcepub fn set_file_level_messages(
self,
input: Option<Vec<FileValidationMessage>>
) -> Self
pub fn set_file_level_messages( self, input: Option<Vec<FileValidationMessage>> ) -> Self
The file-specific model training data validation messages.
sourcepub fn get_file_level_messages(&self) -> &Option<Vec<FileValidationMessage>>
pub fn get_file_level_messages(&self) -> &Option<Vec<FileValidationMessage>>
The file-specific model training data validation messages.
sourcepub fn field_level_messages(self, input: FieldValidationMessage) -> Self
pub fn field_level_messages(self, input: FieldValidationMessage) -> Self
Appends an item to field_level_messages
.
To override the contents of this collection use set_field_level_messages
.
The field-specific model training validation messages.
sourcepub fn set_field_level_messages(
self,
input: Option<Vec<FieldValidationMessage>>
) -> Self
pub fn set_field_level_messages( self, input: Option<Vec<FieldValidationMessage>> ) -> Self
The field-specific model training validation messages.
sourcepub fn get_field_level_messages(&self) -> &Option<Vec<FieldValidationMessage>>
pub fn get_field_level_messages(&self) -> &Option<Vec<FieldValidationMessage>>
The field-specific model training validation messages.
sourcepub fn build(self) -> DataValidationMetrics
pub fn build(self) -> DataValidationMetrics
Consumes the builder and constructs a DataValidationMetrics
.
Trait Implementations§
source§impl Clone for DataValidationMetricsBuilder
impl Clone for DataValidationMetricsBuilder
source§fn clone(&self) -> DataValidationMetricsBuilder
fn clone(&self) -> DataValidationMetricsBuilder
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 Debug for DataValidationMetricsBuilder
impl Debug for DataValidationMetricsBuilder
source§impl Default for DataValidationMetricsBuilder
impl Default for DataValidationMetricsBuilder
source§fn default() -> DataValidationMetricsBuilder
fn default() -> DataValidationMetricsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DataValidationMetricsBuilder
impl PartialEq for DataValidationMetricsBuilder
source§fn eq(&self, other: &DataValidationMetricsBuilder) -> bool
fn eq(&self, other: &DataValidationMetricsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataValidationMetricsBuilder
Auto Trait Implementations§
impl Freeze for DataValidationMetricsBuilder
impl RefUnwindSafe for DataValidationMetricsBuilder
impl Send for DataValidationMetricsBuilder
impl Sync for DataValidationMetricsBuilder
impl Unpin for DataValidationMetricsBuilder
impl UnwindSafe for DataValidationMetricsBuilder
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.