pub struct Normalization {
pub source: String,
pub target: String,
}Expand description
Explicit normalization of a legacy value to an existing canonical case.
Fields§
§source: StringDescriptor value name in this source enum.
target: StringCanonical native variant name.
Trait Implementations§
Source§impl Clone for Normalization
impl Clone for Normalization
Source§impl Debug for Normalization
impl Debug for Normalization
Source§impl<'de> Deserialize<'de> for Normalization
impl<'de> Deserialize<'de> for Normalization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl TryFrom<&NativeNormalization> for Normalization
impl TryFrom<&NativeNormalization> for Normalization
Source§type Error = AdapterError
type Error = AdapterError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for Normalization
impl Freeze for Normalization
impl Move for Normalization
impl RefUnwindSafe for Normalization
impl Send for Normalization
impl Sync for Normalization
impl Unpin for Normalization
impl UnsafeUnpin for Normalization
impl UnwindSafe for Normalization
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