pub struct FullCompatibility<V: SchemaValidator> { /* private fields */ }
Expand description
Schema evolution strategy that accept only adding optional fields.
Implementations§
Source§impl<V: SchemaValidator> FullCompatibility<V>
impl<V: SchemaValidator> FullCompatibility<V>
Trait Implementations§
Source§impl<V: SchemaValidator> EvolutionStrategy for FullCompatibility<V>
impl<V: SchemaValidator> EvolutionStrategy for FullCompatibility<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 FullCompatibility<V>where
V: Freeze,
impl<V> RefUnwindSafe for FullCompatibility<V>where
V: RefUnwindSafe,
impl<V> Send for FullCompatibility<V>where
V: Send,
impl<V> Sync for FullCompatibility<V>where
V: Sync,
impl<V> Unpin for FullCompatibility<V>where
V: Unpin,
impl<V> UnwindSafe for FullCompatibility<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