pub struct UseStmt {
pub namespace: Option<Spanned<String>>,
pub database: Option<Spanned<String>>,
}Expand description
USE NS ... DB ... — selects the active namespace/database.
Fields§
§namespace: Option<Spanned<String>>NS <name> — the namespace to switch to.
database: Option<Spanned<String>>DB <name> — the database to switch to.
Trait Implementations§
impl StructuralPartialEq for UseStmt
Auto Trait Implementations§
impl Freeze for UseStmt
impl RefUnwindSafe for UseStmt
impl Send for UseStmt
impl Sync for UseStmt
impl Unpin for UseStmt
impl UnsafeUnpin for UseStmt
impl UnwindSafe for UseStmt
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