Enum sqlite3_parser::ast::Cmd
source · pub enum Cmd {
Explain(Stmt),
ExplainQueryPlan(Stmt),
Stmt(Stmt),
}Expand description
Statement or Explain statement
Variants§
Explain(Stmt)
EXPLAIN statement
ExplainQueryPlan(Stmt)
EXPLAIN QUERY PLAN statement
Stmt(Stmt)
statement
Implementations§
source§impl Cmd
impl Cmd
sourcepub fn column_count(&self) -> ColumnCount
pub fn column_count(&self) -> ColumnCount
Like sqlite3_column_count but more limited
sourcepub fn is_explain(&self) -> bool
pub fn is_explain(&self) -> bool
Like sqlite3_stmt_isexplain
sourcepub fn check(&self) -> Result<(), ParserError>
pub fn check(&self) -> Result<(), ParserError>
check for extra rules
Trait Implementations§
impl Eq for Cmd
impl StructuralPartialEq for Cmd
Auto Trait Implementations§
impl Freeze for Cmd
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnwindSafe for Cmd
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.