#[non_exhaustive]pub struct DataProfileAppliedConfigs {
pub sampling_percent: f32,
pub row_filter_applied: bool,
pub column_filter_applied: bool,
/* private fields */
}Expand description
Applied configs for data profile 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.
column_filter_applied: boolBoolean indicating whether a column filter was applied in the DataScan job.
Implementations§
Source§impl DataProfileAppliedConfigs
impl DataProfileAppliedConfigs
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.
Sourcepub fn set_column_filter_applied<T: Into<bool>>(self, v: T) -> Self
pub fn set_column_filter_applied<T: Into<bool>>(self, v: T) -> Self
Sets the value of column_filter_applied.
Trait Implementations§
Source§impl Clone for DataProfileAppliedConfigs
impl Clone for DataProfileAppliedConfigs
Source§fn clone(&self) -> DataProfileAppliedConfigs
fn clone(&self) -> DataProfileAppliedConfigs
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 DataProfileAppliedConfigs
impl Debug for DataProfileAppliedConfigs
Source§impl Default for DataProfileAppliedConfigs
impl Default for DataProfileAppliedConfigs
Source§fn default() -> DataProfileAppliedConfigs
fn default() -> DataProfileAppliedConfigs
Returns the “default value” for a type. Read more
Source§impl Message for DataProfileAppliedConfigs
impl Message for DataProfileAppliedConfigs
impl StructuralPartialEq for DataProfileAppliedConfigs
Auto Trait Implementations§
impl Freeze for DataProfileAppliedConfigs
impl RefUnwindSafe for DataProfileAppliedConfigs
impl Send for DataProfileAppliedConfigs
impl Sync for DataProfileAppliedConfigs
impl Unpin for DataProfileAppliedConfigs
impl UnwindSafe for DataProfileAppliedConfigs
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