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