pub enum TableKind {
Ordinary,
Virtual {
module: String,
args: Vec<String>,
},
}Expand description
How the database creates the table.
Virtual covers every CREATE VIRTUAL TABLE … USING <module>(<args>)
form — fts5, vec0, rtree, or a module the application registered
itself. args are already-rendered SQL arguments, joined with ", "
inside the module parentheses, so the schema layer stays module-agnostic
and each module gets its own builder (see crate::fts5).
Variants§
Implementations§
Source§impl TableKind
impl TableKind
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TableKind
impl<'de> Deserialize<'de> for TableKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TableKind
impl StructuralPartialEq for TableKind
Auto Trait Implementations§
impl Freeze for TableKind
impl RefUnwindSafe for TableKind
impl Send for TableKind
impl Sync for TableKind
impl Unpin for TableKind
impl UnsafeUnpin for TableKind
impl UnwindSafe for TableKind
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