Struct google_api_proto::google::cloud::dataplex::v1::DataQualityRuleResult
source · pub struct DataQualityRuleResult {
pub rule: Option<DataQualityRule>,
pub passed: bool,
pub evaluated_count: i64,
pub passed_count: i64,
pub null_count: i64,
pub pass_ratio: f64,
pub failing_rows_query: String,
pub assertion_row_count: i64,
}
Expand description
DataQualityRuleResult provides a more detailed, per-rule view of the results.
Fields§
§rule: Option<DataQualityRule>
The rule specified in the DataQualitySpec, as is.
passed: bool
Whether the rule passed or failed.
evaluated_count: i64
The number of rows a rule was evaluated against.
This field is only valid for row-level type rules.
Evaluated count can be configured to either
- include all rows (default) - with
null
rows automatically failing rule evaluation, or - exclude
null
rows from theevaluated_count
, by settingignore_nulls = true
.
passed_count: i64
The number of rows which passed a rule evaluation.
This field is only valid for row-level type rules.
null_count: i64
The number of rows with null values in the specified column.
pass_ratio: f64
The ratio of passed_count / evaluated_count.
This field is only valid for row-level type rules.
failing_rows_query: String
The query to find rows that did not pass this rule.
This field is only valid for row-level type rules.
assertion_row_count: i64
Output only. The number of rows returned by the SQL statement in a SQL assertion rule.
This field is only valid for SQL assertion rules.
Trait Implementations§
source§impl Clone for DataQualityRuleResult
impl Clone for DataQualityRuleResult
source§fn clone(&self) -> DataQualityRuleResult
fn clone(&self) -> DataQualityRuleResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataQualityRuleResult
impl Debug for DataQualityRuleResult
source§impl Default for DataQualityRuleResult
impl Default for DataQualityRuleResult
source§impl Message for DataQualityRuleResult
impl Message for DataQualityRuleResult
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DataQualityRuleResult
impl PartialEq for DataQualityRuleResult
source§fn eq(&self, other: &DataQualityRuleResult) -> bool
fn eq(&self, other: &DataQualityRuleResult) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataQualityRuleResult
Auto Trait Implementations§
impl Freeze for DataQualityRuleResult
impl RefUnwindSafe for DataQualityRuleResult
impl Send for DataQualityRuleResult
impl Sync for DataQualityRuleResult
impl Unpin for DataQualityRuleResult
impl UnwindSafe for DataQualityRuleResult
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request