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