Struct rbdc_sqlite::query::SqliteQuery
source · [−]pub struct SqliteQuery {
pub statement: Either<String, SqliteStatement>,
pub arguments: Vec<Value>,
pub persistent: bool,
}
Fields
statement: Either<String, SqliteStatement>
arguments: Vec<Value>
persistent: bool
Implementations
sourceimpl SqliteQuery
impl SqliteQuery
pub fn sql(&self) -> &str
pub fn statement(&self) -> Option<&SqliteStatement>
pub fn take_arguments(self) -> Option<SqliteArguments>
pub fn persistent(&self) -> bool
Auto Trait Implementations
impl RefUnwindSafe for SqliteQuery
impl Send for SqliteQuery
impl Sync for SqliteQuery
impl Unpin for SqliteQuery
impl UnwindSafe for SqliteQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more