pub struct V3Normalizer;Implementations§
Source§impl V3Normalizer
impl V3Normalizer
Trait Implementations§
Source§impl Clone for V3Normalizer
impl Clone for V3Normalizer
Source§fn clone(&self) -> V3Normalizer
fn clone(&self) -> V3Normalizer
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 V3Normalizer
Source§impl Debug for V3Normalizer
impl Debug for V3Normalizer
Source§impl Default for V3Normalizer
impl Default for V3Normalizer
Source§fn default() -> V3Normalizer
fn default() -> V3Normalizer
Returns the “default value” for a type. Read more
Source§impl Normalizer for V3Normalizer
impl Normalizer for V3Normalizer
Source§fn schema_version(&self) -> GenomeSchemaVersion
fn schema_version(&self) -> GenomeSchemaVersion
Schema version this normalizer targets.
Source§fn normalize(
&self,
genome: &mut Value,
) -> Result<NormalizationDiagnostics, MigrationError>
fn normalize( &self, genome: &mut Value, ) -> Result<NormalizationDiagnostics, MigrationError>
Apply corrections in place. Returns diagnostics describing what
changed, or an error on hard failure.
Auto Trait Implementations§
impl Freeze for V3Normalizer
impl RefUnwindSafe for V3Normalizer
impl Send for V3Normalizer
impl Sync for V3Normalizer
impl Unpin for V3Normalizer
impl UnsafeUnpin for V3Normalizer
impl UnwindSafe for V3Normalizer
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