pub enum QualityAnalysisStatus {
Computed,
NotRequested,
NoData,
WithheldByProjection,
Failed {
error: String,
},
Unrecorded,
}Expand description
Why a report does or does not carry a quality assessment.
quality alone cannot answer that. A run that never asked for quality
metrics and a run whose quality computation failed both leave it None,
so absence itself became the plausible value that hid the failure. This
names the difference: a consumer deciding on a report can tell “you did
not ask for this” from “this broke” from “there was nothing to measure”.
Variants§
Computed
Computed: quality carries the assessment.
NotRequested
Not requested for this run — the quality pack was deselected.
NoData
Requested, but no quality sample was supplied to the assembler.
An empty sample is analyzed and reports Computed, even without columns.
WithheldByProjection
Requested, but every requested dimension measures whole rows and the run profiled a subset of columns. Completeness and uniqueness mean something else after projection, and the report cannot label only their row-level fields as projected, so they are withheld rather than published under full-row names.
Failed
Requested and attempted; the computation failed. quality is absent
because the computation broke, not because nothing was asked for.
Unrecorded
Written by a release that did not record this. Only reachable by
deserializing a document from before the field existed that carries no
quality assessment; a stored assessment is read back as Computed.
Trait Implementations§
Source§impl Clone for QualityAnalysisStatus
impl Clone for QualityAnalysisStatus
Source§fn clone(&self) -> QualityAnalysisStatus
fn clone(&self) -> QualityAnalysisStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for QualityAnalysisStatus
impl Debug for QualityAnalysisStatus
Source§impl<'de> Deserialize<'de> for QualityAnalysisStatus
impl<'de> Deserialize<'de> for QualityAnalysisStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<QualityAnalysisStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<QualityAnalysisStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for QualityAnalysisStatus
Source§impl JsonSchema for QualityAnalysisStatus
impl JsonSchema for QualityAnalysisStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for QualityAnalysisStatus
impl PartialEq for QualityAnalysisStatus
Source§impl Serialize for QualityAnalysisStatus
impl Serialize for QualityAnalysisStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for QualityAnalysisStatus
Auto Trait Implementations§
impl Freeze for QualityAnalysisStatus
impl RefUnwindSafe for QualityAnalysisStatus
impl Send for QualityAnalysisStatus
impl Sync for QualityAnalysisStatus
impl Unpin for QualityAnalysisStatus
impl UnsafeUnpin for QualityAnalysisStatus
impl UnwindSafe for QualityAnalysisStatus
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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 more