pub struct ShowEngines {
pub show_span: Span,
pub engines_span: Span,
}Expand description
Parse result for SHOW ENGINES
let sql = "SHOW ENGINES;";
let mut issues = Issues::new(sql);
let mut stmts = parse_statements(sql, &mut issues, &options);
match stmts.pop() {
Some(Statement::ShowEngines(s)) => {
// s.engines_span is present
}
_ => panic!("expected ShowEngines"),
}Fields§
§show_span: Span§engines_span: SpanTrait Implementations§
Source§impl Clone for ShowEngines
impl Clone for ShowEngines
Source§fn clone(&self) -> ShowEngines
fn clone(&self) -> ShowEngines
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 ShowEngines
impl Debug for ShowEngines
Auto Trait Implementations§
impl Freeze for ShowEngines
impl RefUnwindSafe for ShowEngines
impl Send for ShowEngines
impl Sync for ShowEngines
impl Unpin for ShowEngines
impl UnsafeUnpin for ShowEngines
impl UnwindSafe for ShowEngines
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