#[non_exhaustive]pub struct DataQualityAppliedConfigs {
pub sampling_percent: f32,
pub row_filter_applied: bool,
/* private fields */
}Expand description
Applied configs for data quality type data scan job.
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.sampling_percent: f32The percentage of the records selected from the dataset for DataScan.
- Value ranges between 0.0 and 100.0.
- Value 0.0 or 100.0 imply that sampling was not applied.
row_filter_applied: boolBoolean indicating whether a row filter was applied in the DataScan job.
Implementations§
Source§impl DataQualityAppliedConfigs
impl DataQualityAppliedConfigs
pub fn new() -> Self
Sourcepub fn set_sampling_percent<T: Into<f32>>(self, v: T) -> Self
pub fn set_sampling_percent<T: Into<f32>>(self, v: T) -> Self
Sets the value of sampling_percent.
Sourcepub fn set_row_filter_applied<T: Into<bool>>(self, v: T) -> Self
pub fn set_row_filter_applied<T: Into<bool>>(self, v: T) -> Self
Sets the value of row_filter_applied.
Trait Implementations§
Source§impl Clone for DataQualityAppliedConfigs
impl Clone for DataQualityAppliedConfigs
Source§fn clone(&self) -> DataQualityAppliedConfigs
fn clone(&self) -> DataQualityAppliedConfigs
Returns a duplicate 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 DataQualityAppliedConfigs
impl Debug for DataQualityAppliedConfigs
Source§impl Default for DataQualityAppliedConfigs
impl Default for DataQualityAppliedConfigs
Source§fn default() -> DataQualityAppliedConfigs
fn default() -> DataQualityAppliedConfigs
Returns the “default value” for a type. Read more
Source§impl Message for DataQualityAppliedConfigs
impl Message for DataQualityAppliedConfigs
impl StructuralPartialEq for DataQualityAppliedConfigs
Auto Trait Implementations§
impl Freeze for DataQualityAppliedConfigs
impl RefUnwindSafe for DataQualityAppliedConfigs
impl Send for DataQualityAppliedConfigs
impl Sync for DataQualityAppliedConfigs
impl Unpin for DataQualityAppliedConfigs
impl UnwindSafe for DataQualityAppliedConfigs
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