pub struct NoneCompatibility<V: SchemaValidator> { /* private fields */ }
Expand description
A strategy that accepts all changes.
Implementations§
Source§impl<V: SchemaValidator> NoneCompatibility<V>
impl<V: SchemaValidator> NoneCompatibility<V>
Trait Implementations§
Source§impl<V: SchemaValidator> EvolutionStrategy for NoneCompatibility<V>
impl<V: SchemaValidator> EvolutionStrategy for NoneCompatibility<V>
Source§type SchemaType = <V as SchemaValidator>::SchemaType
type SchemaType = <V as SchemaValidator>::SchemaType
The type of the schema we will be working against
Source§fn compatibility_level(&self) -> CompatibilityLevel
fn compatibility_level(&self) -> CompatibilityLevel
The compatibility level of the strategy.
Source§fn check(&self) -> Result<CompatibilityLevel, EvolutionError>
fn check(&self) -> Result<CompatibilityLevel, EvolutionError>
Check if the current schema is compatible with the latest schema.
Auto Trait Implementations§
impl<V> Freeze for NoneCompatibility<V>where
V: Freeze,
impl<V> RefUnwindSafe for NoneCompatibility<V>where
V: RefUnwindSafe,
impl<V> Send for NoneCompatibility<V>where
V: Send,
impl<V> Sync for NoneCompatibility<V>where
V: Sync,
impl<V> Unpin for NoneCompatibility<V>where
V: Unpin,
impl<V> UnwindSafe for NoneCompatibility<V>where
V: UnwindSafe,
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