pub enum SchemaSkip {
Unknown {
kind: String,
file: PathBuf,
line: u64,
},
AlterMissingTable {
table: String,
file: PathBuf,
line: u64,
},
DropMissingTable {
table: String,
file: PathBuf,
line: u64,
},
DuplicateTable {
table: String,
file: PathBuf,
line: u64,
},
}Expand description
Things apply_statement couldn’t apply or noticed something off. The
caller (CLI or build-schema) renders these as note: lines on stderr.
Variants§
Unknown
Statement we don’t replay (INSERT, GRANT, raw fallback, …).
AlterMissingTable
DropMissingTable
DuplicateTable
CREATE TABLE for a table that already exists, with no IF NOT EXISTS
and no preceding DROP. Per the user-locked-in “warn-only” policy we
note it and overwrite anyway.
Implementations§
Trait Implementations§
Source§impl Clone for SchemaSkip
impl Clone for SchemaSkip
Source§fn clone(&self) -> SchemaSkip
fn clone(&self) -> SchemaSkip
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 SchemaSkip
impl Debug for SchemaSkip
Source§impl PartialEq for SchemaSkip
impl PartialEq for SchemaSkip
Source§fn eq(&self, other: &SchemaSkip) -> bool
fn eq(&self, other: &SchemaSkip) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SchemaSkip
Auto Trait Implementations§
impl Freeze for SchemaSkip
impl RefUnwindSafe for SchemaSkip
impl Send for SchemaSkip
impl Sync for SchemaSkip
impl Unpin for SchemaSkip
impl UnsafeUnpin for SchemaSkip
impl UnwindSafe for SchemaSkip
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