pub enum ValidationStatus {
Passed,
Failed,
NotChecked,
}Expand description
Overall outcome of a validation run.
The status is derived from the report’s issues in priority order:
Failedif any issue hasSeverity::Error;- otherwise
NotCheckedif any issue indicates content that could not be verified (issue codesunsupported-version,unknown-core-field,required-extension-unverified,optional-extension-unverified,undeclared-extension-field,unrecognized-extension-field, orunresolved-recording-reference); - otherwise
Passed.
Variants§
Passed
No errors and nothing left unverified.
Other warnings (for example sample-index-before-offset) may still be
present in ValidationReport::issues.
Failed
At least one issue has Severity::Error.
NotChecked
No errors were found, but some content could not be verified, such as
an unsupported version, an unknown core: field, or an extension
without registered support.
Trait Implementations§
Source§impl Clone for ValidationStatus
impl Clone for ValidationStatus
impl Copy for ValidationStatus
Source§impl Debug for ValidationStatus
impl Debug for ValidationStatus
impl Eq for ValidationStatus
Source§impl PartialEq for ValidationStatus
impl PartialEq for ValidationStatus
impl StructuralPartialEq for ValidationStatus
Auto Trait Implementations§
impl Freeze for ValidationStatus
impl RefUnwindSafe for ValidationStatus
impl Send for ValidationStatus
impl Sync for ValidationStatus
impl Unpin for ValidationStatus
impl UnsafeUnpin for ValidationStatus
impl UnwindSafe for ValidationStatus
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
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,
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
Compare self to
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> ⓘ
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