#[non_exhaustive]pub enum Expectation {
#[non_exhaustive] AtLeast {
value: MetricValue,
},
#[non_exhaustive] AtMost {
value: MetricValue,
},
Analyzed,
#[non_exhaustive] ChangeAtLeast {
value: MetricValue,
},
#[non_exhaustive] ChangeAtMost {
value: MetricValue,
},
#[non_exhaustive] RelativeChangeAtLeast {
value: MetricValue,
},
#[non_exhaustive] RelativeChangeAtMost {
value: MetricValue,
},
Present,
InBaseline,
}Expand description
The constraint a check applied.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
#[non_exhaustive]AtLeast
The observed value must be at least value.
Fields
This variant is marked as non-exhaustive
value: MetricValueThe threshold.
#[non_exhaustive]AtMost
The observed value must be at most value.
Fields
This variant is marked as non-exhaustive
value: MetricValueThe threshold.
Analyzed
The metric must have been analyzed. No number is compared.
#[non_exhaustive]ChangeAtLeast
The change from the baseline, observed minus the baseline’s value,
must be at least value points. A permitted drop is a negative value.
Fields
This variant is marked as non-exhaustive
value: MetricValueThe threshold, in points.
#[non_exhaustive]ChangeAtMost
The change from the baseline must be at most value points.
Fields
This variant is marked as non-exhaustive
value: MetricValueThe threshold, in points.
#[non_exhaustive]RelativeChangeAtLeast
The change from the baseline as a percentage of the baseline’s value,
(observed - baseline) / baseline * 100, must be at least value. A
permitted drop is a negative value.
Fields
This variant is marked as non-exhaustive
value: MetricValueThe threshold, in percent of the baseline’s value.
#[non_exhaustive]RelativeChangeAtMost
The change from the baseline as a percentage of the baseline’s value
must be at most value.
Fields
This variant is marked as non-exhaustive
value: MetricValueThe threshold, in percent of the baseline’s value.
Present
The column must be profiled. No number is compared.
InBaseline
The column must be one the baseline profiled. No number is compared.