pub enum SchemaObjectKind {
Table,
Trigger,
View,
}Expand description
A named SQLite object which belongs to the migration state but is not an ORM model. Triggers and views are kept structurally so a fresh database can be recreated without embedding a whole-schema SQL baseline.
Variants§
Trait Implementations§
Source§impl Clone for SchemaObjectKind
impl Clone for SchemaObjectKind
impl Copy for SchemaObjectKind
Source§impl Debug for SchemaObjectKind
impl Debug for SchemaObjectKind
impl Eq for SchemaObjectKind
Source§impl Ord for SchemaObjectKind
impl Ord for SchemaObjectKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SchemaObjectKind
impl PartialEq for SchemaObjectKind
Source§impl PartialOrd for SchemaObjectKind
impl PartialOrd for SchemaObjectKind
impl StructuralPartialEq for SchemaObjectKind
Auto Trait Implementations§
impl Freeze for SchemaObjectKind
impl RefUnwindSafe for SchemaObjectKind
impl Send for SchemaObjectKind
impl Sync for SchemaObjectKind
impl Unpin for SchemaObjectKind
impl UnsafeUnpin for SchemaObjectKind
impl UnwindSafe for SchemaObjectKind
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