pub struct TimelinessMetrics {
pub future_dates_count: usize,
pub stale_data_ratio: f64,
pub temporal_violations: usize,
pub invalid_date_values: usize,
pub date_values_checked: usize,
pub temporal_pairs_checked: usize,
}Expand description
Timeliness metrics (ISO 8000-8).
Fields§
§future_dates_count: usize§stale_data_ratio: f64§temporal_violations: usize§invalid_date_values: usizeNon-null values in inferred or explicitly configured temporal columns that failed calendar-date parsing.
date_values_checked: usizeNon-null values examined in inferred or explicitly configured temporal columns. 0 means the dimension had nothing to assess and it is excluded from the overall score.
temporal_pairs_checked: usizeStart/end value pairs actually compared for temporal ordering.
temporal_violations is bounded by this, not by
date_values_checked — the pair scan may cover columns the date
scan does not.
Implementations§
Source§impl TimelinessMetrics
impl TimelinessMetrics
Sourcepub fn is_assessed(&self) -> bool
pub fn is_assessed(&self) -> bool
True when at least one value in a temporal column was examined.
Trait Implementations§
Source§impl Clone for TimelinessMetrics
impl Clone for TimelinessMetrics
Source§fn clone(&self) -> TimelinessMetrics
fn clone(&self) -> TimelinessMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimelinessMetrics
impl Debug for TimelinessMetrics
Source§impl Default for TimelinessMetrics
impl Default for TimelinessMetrics
Source§fn default() -> TimelinessMetrics
fn default() -> TimelinessMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimelinessMetrics
impl<'de> Deserialize<'de> for TimelinessMetrics
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TimelinessMetrics, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TimelinessMetrics, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for TimelinessMetrics
impl JsonSchema for TimelinessMetrics
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TimelinessMetrics
impl PartialEq for TimelinessMetrics
Source§impl Serialize for TimelinessMetrics
impl Serialize for TimelinessMetrics
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,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TimelinessMetrics
Auto Trait Implementations§
impl Freeze for TimelinessMetrics
impl RefUnwindSafe for TimelinessMetrics
impl Send for TimelinessMetrics
impl Sync for TimelinessMetrics
impl Unpin for TimelinessMetrics
impl UnsafeUnpin for TimelinessMetrics
impl UnwindSafe for TimelinessMetrics
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
Mutably borrows from an owned value. Read more
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<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> ⓘ
Converts
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> ⓘ
Converts
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