pub enum SqliteEntity {
Table(Table),
Column(Column),
Index(Index),
ForeignKey(ForeignKey),
PrimaryKey(PrimaryKey),
UniqueConstraint(UniqueConstraint),
CheckConstraint(CheckConstraint),
View(View),
}Expand description
Unified SQLite DDL entity enum for serialization
Uses internally-tagged enum representation where entityType discriminates variants.
Variants§
Table(Table)
Column(Column)
Index(Index)
ForeignKey(ForeignKey)
PrimaryKey(PrimaryKey)
UniqueConstraint(UniqueConstraint)
CheckConstraint(CheckConstraint)
View(View)
Trait Implementations§
Source§impl Clone for SqliteEntity
impl Clone for SqliteEntity
Source§fn clone(&self) -> SqliteEntity
fn clone(&self) -> SqliteEntity
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 SqliteEntity
impl Debug for SqliteEntity
Source§impl PartialEq for SqliteEntity
impl PartialEq for SqliteEntity
impl StructuralPartialEq for SqliteEntity
Auto Trait Implementations§
impl Freeze for SqliteEntity
impl RefUnwindSafe for SqliteEntity
impl Send for SqliteEntity
impl Sync for SqliteEntity
impl Unpin for SqliteEntity
impl UnwindSafe for SqliteEntity
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