pub enum CompatibilityLevel {
Backward,
Forward,
Full,
None,
NoChange,
}
Expand description
The compatibility level of a schema evolution strategy.
Variants§
Backward
Delete fields and Add optional fields
Forward
Add fields and Delete optional fields
Full
Add optional fields and Delete optional fields
None
All changes are accepted
NoChange
No changes are accepted
Trait Implementations§
Source§impl Clone for CompatibilityLevel
impl Clone for CompatibilityLevel
Source§fn clone(&self) -> CompatibilityLevel
fn clone(&self) -> CompatibilityLevel
Returns a duplicate of the value. Read more
1.0.0 · 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 CompatibilityLevel
impl Debug for CompatibilityLevel
Source§impl PartialEq for CompatibilityLevel
impl PartialEq for CompatibilityLevel
impl Copy for CompatibilityLevel
impl StructuralPartialEq for CompatibilityLevel
Auto Trait Implementations§
impl Freeze for CompatibilityLevel
impl RefUnwindSafe for CompatibilityLevel
impl Send for CompatibilityLevel
impl Sync for CompatibilityLevel
impl Unpin for CompatibilityLevel
impl UnwindSafe for CompatibilityLevel
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