pub struct V3Validator;Expand description
Validator for the latest schema version.
Currently a placeholder; see module docs.
Implementations§
Source§impl V3Validator
impl V3Validator
Trait Implementations§
Source§impl Clone for V3Validator
impl Clone for V3Validator
Source§fn clone(&self) -> V3Validator
fn clone(&self) -> V3Validator
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 moreimpl Copy for V3Validator
Source§impl Debug for V3Validator
impl Debug for V3Validator
Source§impl Default for V3Validator
impl Default for V3Validator
Source§fn default() -> V3Validator
fn default() -> V3Validator
Returns the “default value” for a type. Read more
Source§impl Validator for V3Validator
impl Validator for V3Validator
Source§fn schema_version(&self) -> GenomeSchemaVersion
fn schema_version(&self) -> GenomeSchemaVersion
The schema version this validator targets.
Source§fn validate(&self, _genome: &Value) -> ValidationReport
fn validate(&self, _genome: &Value) -> ValidationReport
Inspect a genome and return findings. Never mutates.
Auto Trait Implementations§
impl Freeze for V3Validator
impl RefUnwindSafe for V3Validator
impl Send for V3Validator
impl Sync for V3Validator
impl Unpin for V3Validator
impl UnsafeUnpin for V3Validator
impl UnwindSafe for V3Validator
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
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> ⓘ
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