#[non_exhaustive]pub struct DataQualityColumnResult {
pub column: String,
pub score: Option<f32>,
pub passed: bool,
pub dimensions: Vec<DataQualityDimensionResult>,
/* private fields */
}Expand description
DataQualityColumnResult provides a more detailed, per-column view of the results.
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.column: StringOutput only. The column specified in the DataQualityRule.
score: Option<f32>Output only. The column-level data quality score for this data scan job if and only if the ‘column’ field is set.
The score ranges between between [0, 100] (up to two decimal points).
passed: boolOutput only. Whether the column passed or failed.
dimensions: Vec<DataQualityDimensionResult>Output only. The dimension-level results for this column.
Implementations§
Source§impl DataQualityColumnResult
impl DataQualityColumnResult
pub fn new() -> Self
Sourcepub fn set_column<T: Into<String>>(self, v: T) -> Self
pub fn set_column<T: Into<String>>(self, v: T) -> Self
Sets the value of column.
Sourcepub fn set_or_clear_score<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_score<T>(self, v: Option<T>) -> Self
Sets or clears the value of score.
Sourcepub fn set_passed<T: Into<bool>>(self, v: T) -> Self
pub fn set_passed<T: Into<bool>>(self, v: T) -> Self
Sets the value of passed.
Sourcepub fn set_dimensions<T, V>(self, v: T) -> Self
pub fn set_dimensions<T, V>(self, v: T) -> Self
Sets the value of dimensions.
Trait Implementations§
Source§impl Clone for DataQualityColumnResult
impl Clone for DataQualityColumnResult
Source§fn clone(&self) -> DataQualityColumnResult
fn clone(&self) -> DataQualityColumnResult
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 DataQualityColumnResult
impl Debug for DataQualityColumnResult
Source§impl Default for DataQualityColumnResult
impl Default for DataQualityColumnResult
Source§fn default() -> DataQualityColumnResult
fn default() -> DataQualityColumnResult
Returns the “default value” for a type. Read more
Source§impl Message for DataQualityColumnResult
impl Message for DataQualityColumnResult
Source§impl PartialEq for DataQualityColumnResult
impl PartialEq for DataQualityColumnResult
impl StructuralPartialEq for DataQualityColumnResult
Auto Trait Implementations§
impl Freeze for DataQualityColumnResult
impl RefUnwindSafe for DataQualityColumnResult
impl Send for DataQualityColumnResult
impl Sync for DataQualityColumnResult
impl Unpin for DataQualityColumnResult
impl UnwindSafe for DataQualityColumnResult
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