#[non_exhaustive]pub struct GetDataQualityResultOutput {Show 15 fields
pub result_id: Option<String>,
pub profile_id: Option<String>,
pub score: Option<f64>,
pub data_source: Option<DataSource>,
pub ruleset_name: Option<String>,
pub evaluation_context: Option<String>,
pub started_on: Option<DateTime>,
pub completed_on: Option<DateTime>,
pub job_name: Option<String>,
pub job_run_id: Option<String>,
pub ruleset_evaluation_run_id: Option<String>,
pub rule_results: Option<Vec<DataQualityRuleResult>>,
pub analyzer_results: Option<Vec<DataQualityAnalyzerResult>>,
pub observations: Option<Vec<DataQualityObservation>>,
pub aggregated_metrics: Option<DataQualityAggregatedMetrics>,
/* private fields */
}
Expand description
The response for the data quality result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.result_id: Option<String>
A unique result ID for the data quality result.
profile_id: Option<String>
The Profile ID for the data quality result.
score: Option<f64>
An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.
data_source: Option<DataSource>
The table associated with the data quality result, if any.
ruleset_name: Option<String>
The name of the ruleset associated with the data quality result.
evaluation_context: Option<String>
In the context of a job in Glue Studio, each node in the canvas is typically assigned some sort of name and data quality nodes will have names. In the case of multiple nodes, the evaluationContext
can differentiate the nodes.
started_on: Option<DateTime>
The date and time when the run for this data quality result started.
completed_on: Option<DateTime>
The date and time when the run for this data quality result was completed.
job_name: Option<String>
The job name associated with the data quality result, if any.
job_run_id: Option<String>
The job run ID associated with the data quality result, if any.
ruleset_evaluation_run_id: Option<String>
The unique run ID associated with the ruleset evaluation.
rule_results: Option<Vec<DataQualityRuleResult>>
A list of DataQualityRuleResult
objects representing the results for each rule.
analyzer_results: Option<Vec<DataQualityAnalyzerResult>>
A list of DataQualityAnalyzerResult
objects representing the results for each analyzer.
observations: Option<Vec<DataQualityObservation>>
A list of DataQualityObservation
objects representing the observations generated after evaluating the rules and analyzers.
aggregated_metrics: Option<DataQualityAggregatedMetrics>
A summary of DataQualityAggregatedMetrics
objects showing the total counts of processed rows and rules, including their pass/fail statistics based on row-level results.
Implementations§
Source§impl GetDataQualityResultOutput
impl GetDataQualityResultOutput
Sourcepub fn profile_id(&self) -> Option<&str>
pub fn profile_id(&self) -> Option<&str>
The Profile ID for the data quality result.
Sourcepub fn score(&self) -> Option<f64>
pub fn score(&self) -> Option<f64>
An aggregate data quality score. Represents the ratio of rules that passed to the total number of rules.
Sourcepub fn data_source(&self) -> Option<&DataSource>
pub fn data_source(&self) -> Option<&DataSource>
The table associated with the data quality result, if any.
Sourcepub fn ruleset_name(&self) -> Option<&str>
pub fn ruleset_name(&self) -> Option<&str>
The name of the ruleset associated with the data quality result.
Sourcepub fn evaluation_context(&self) -> Option<&str>
pub fn evaluation_context(&self) -> Option<&str>
In the context of a job in Glue Studio, each node in the canvas is typically assigned some sort of name and data quality nodes will have names. In the case of multiple nodes, the evaluationContext
can differentiate the nodes.
Sourcepub fn started_on(&self) -> Option<&DateTime>
pub fn started_on(&self) -> Option<&DateTime>
The date and time when the run for this data quality result started.
Sourcepub fn completed_on(&self) -> Option<&DateTime>
pub fn completed_on(&self) -> Option<&DateTime>
The date and time when the run for this data quality result was completed.
Sourcepub fn job_name(&self) -> Option<&str>
pub fn job_name(&self) -> Option<&str>
The job name associated with the data quality result, if any.
Sourcepub fn job_run_id(&self) -> Option<&str>
pub fn job_run_id(&self) -> Option<&str>
The job run ID associated with the data quality result, if any.
Sourcepub fn ruleset_evaluation_run_id(&self) -> Option<&str>
pub fn ruleset_evaluation_run_id(&self) -> Option<&str>
The unique run ID associated with the ruleset evaluation.
Sourcepub fn rule_results(&self) -> &[DataQualityRuleResult]
pub fn rule_results(&self) -> &[DataQualityRuleResult]
A list of DataQualityRuleResult
objects representing the results for each rule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rule_results.is_none()
.
Sourcepub fn analyzer_results(&self) -> &[DataQualityAnalyzerResult]
pub fn analyzer_results(&self) -> &[DataQualityAnalyzerResult]
A list of DataQualityAnalyzerResult
objects representing the results for each analyzer.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .analyzer_results.is_none()
.
Sourcepub fn observations(&self) -> &[DataQualityObservation]
pub fn observations(&self) -> &[DataQualityObservation]
A list of DataQualityObservation
objects representing the observations generated after evaluating the rules and analyzers.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .observations.is_none()
.
Sourcepub fn aggregated_metrics(&self) -> Option<&DataQualityAggregatedMetrics>
pub fn aggregated_metrics(&self) -> Option<&DataQualityAggregatedMetrics>
A summary of DataQualityAggregatedMetrics
objects showing the total counts of processed rows and rules, including their pass/fail statistics based on row-level results.
Source§impl GetDataQualityResultOutput
impl GetDataQualityResultOutput
Sourcepub fn builder() -> GetDataQualityResultOutputBuilder
pub fn builder() -> GetDataQualityResultOutputBuilder
Creates a new builder-style object to manufacture GetDataQualityResultOutput
.
Trait Implementations§
Source§impl Clone for GetDataQualityResultOutput
impl Clone for GetDataQualityResultOutput
Source§fn clone(&self) -> GetDataQualityResultOutput
fn clone(&self) -> GetDataQualityResultOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetDataQualityResultOutput
impl Debug for GetDataQualityResultOutput
Source§impl RequestId for GetDataQualityResultOutput
impl RequestId for GetDataQualityResultOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetDataQualityResultOutput
Auto Trait Implementations§
impl Freeze for GetDataQualityResultOutput
impl RefUnwindSafe for GetDataQualityResultOutput
impl Send for GetDataQualityResultOutput
impl Sync for GetDataQualityResultOutput
impl Unpin for GetDataQualityResultOutput
impl UnwindSafe for GetDataQualityResultOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);