pub struct VTabArgs<'a> {
pub module_name: &'a str,
pub database_name: &'a str,
pub table_name: &'a str,
pub arguments: Vec<&'a str>,
}Fields§
§module_name: &'a strName of the module being invoked, the argument in the USING clause.
Example: "CREATE VIRTUAL TABLE xxx USING custom_vtab" would have
a module_name of "custom_vtab".
Sourced from argv[0]
database_name: &'a strName of the database where the virtual table will be created,
typically "main" or "temp" or another name from an
ATTACH’ed database.
Sourced from argv[1]
table_name: &'a strName of the table being created.
Example: "CREATE VIRTUAL TABLE xxx USING custom_vtab" would
have a table_name of "xxx".
Sourced from argv[2]
arguments: Vec<&'a str>The remaining arguments given in the constructor of the virtual
table, inside CREATE VIRTUAL TABLE xxx USING custom_vtab(...).
Sourced from argv[3:]
Auto Trait Implementations§
impl<'a> Freeze for VTabArgs<'a>
impl<'a> RefUnwindSafe for VTabArgs<'a>
impl<'a> Send for VTabArgs<'a>
impl<'a> Sync for VTabArgs<'a>
impl<'a> Unpin for VTabArgs<'a>
impl<'a> UnsafeUnpin for VTabArgs<'a>
impl<'a> UnwindSafe for VTabArgs<'a>
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