pub enum SchemaError {
InvalidIdentifier(String),
DuplicateTable(String),
DuplicateColumn {
table: String,
column: String,
},
UnknownColumn {
table: String,
column: String,
},
InvalidForeignKey(String),
InvalidOnDelete(String),
IncompatibleSyncRoles,
}Expand description
Errors found in model-generated schema metadata.
Variants§
InvalidIdentifier(String)
DuplicateTable(String)
DuplicateColumn
UnknownColumn
InvalidForeignKey(String)
InvalidOnDelete(String)
IncompatibleSyncRoles
Trait Implementations§
Source§impl Clone for SchemaError
impl Clone for SchemaError
Source§impl Debug for SchemaError
impl Debug for SchemaError
impl Eq for SchemaError
Source§impl PartialEq for SchemaError
impl PartialEq for SchemaError
impl StructuralPartialEq for SchemaError
Auto Trait Implementations§
impl Forget for SchemaError
impl Freeze for SchemaError
impl Move for SchemaError
impl RefUnwindSafe for SchemaError
impl Send for SchemaError
impl Sync for SchemaError
impl Unpin for SchemaError
impl UnsafeUnpin for SchemaError
impl UnwindSafe for SchemaError
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