pub struct DataQualityConfigBuilder { /* private fields */ }Expand description
Builder for DataQualityConfig.
Implementations§
Source§impl DataQualityConfigBuilder
impl DataQualityConfigBuilder
Sourcepub fn with_missing_values(self, enable: bool) -> Self
pub fn with_missing_values(self, enable: bool) -> Self
Enables or disables missing values.
Sourcepub fn with_missing_rate(self, rate: f64) -> Self
pub fn with_missing_rate(self, rate: f64) -> Self
Sets the global missing value rate.
Sourcepub fn with_format_variations(self, enable: bool) -> Self
pub fn with_format_variations(self, enable: bool) -> Self
Enables or disables format variations.
Sourcepub fn with_duplicates(self, enable: bool) -> Self
pub fn with_duplicates(self, enable: bool) -> Self
Enables or disables duplicates.
Sourcepub fn with_duplicate_rate(self, rate: f64) -> Self
pub fn with_duplicate_rate(self, rate: f64) -> Self
Sets the duplicate rate.
Sourcepub fn with_typos(self, enable: bool) -> Self
pub fn with_typos(self, enable: bool) -> Self
Enables or disables typos.
Sourcepub fn with_typo_rate(self, rate: f64) -> Self
pub fn with_typo_rate(self, rate: f64) -> Self
Sets the typo rate.
Sourcepub fn with_encoding_issues(self, enable: bool) -> Self
pub fn with_encoding_issues(self, enable: bool) -> Self
Enables or disables encoding issues.
Sourcepub fn build(self) -> DataQualityConfig
pub fn build(self) -> DataQualityConfig
Builds the configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataQualityConfigBuilder
impl RefUnwindSafe for DataQualityConfigBuilder
impl Send for DataQualityConfigBuilder
impl Sync for DataQualityConfigBuilder
impl Unpin for DataQualityConfigBuilder
impl UnwindSafe for DataQualityConfigBuilder
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