pub enum SchemaCompatibility {
BackwardCompatible,
ForwardCompatible,
Lossy,
Incompatible,
Unknown,
}Expand description
Compatibility result for a schema morphism.
Variants§
BackwardCompatible
Backward compatible mapping.
ForwardCompatible
Forward compatible mapping.
Lossy
Lossy mapping.
Incompatible
Incompatible mapping.
Unknown
Unknown compatibility.
Trait Implementations§
Source§impl Clone for SchemaCompatibility
impl Clone for SchemaCompatibility
Source§fn clone(&self) -> SchemaCompatibility
fn clone(&self) -> SchemaCompatibility
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 SchemaCompatibility
impl Debug for SchemaCompatibility
Source§impl<'de> Deserialize<'de> for SchemaCompatibility
impl<'de> Deserialize<'de> for SchemaCompatibility
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 Hash for SchemaCompatibility
impl Hash for SchemaCompatibility
Source§impl PartialEq for SchemaCompatibility
impl PartialEq for SchemaCompatibility
Source§fn eq(&self, other: &SchemaCompatibility) -> bool
fn eq(&self, other: &SchemaCompatibility) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchemaCompatibility
impl Serialize for SchemaCompatibility
impl Copy for SchemaCompatibility
impl Eq for SchemaCompatibility
impl StructuralPartialEq for SchemaCompatibility
Auto Trait Implementations§
impl Freeze for SchemaCompatibility
impl RefUnwindSafe for SchemaCompatibility
impl Send for SchemaCompatibility
impl Sync for SchemaCompatibility
impl Unpin for SchemaCompatibility
impl UnsafeUnpin for SchemaCompatibility
impl UnwindSafe for SchemaCompatibility
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