pub struct SetVariableStmt {
pub scope: VariableScope,
pub variable: String,
pub value: Expression,
}Expand description
SET variable statement (MySQL/PostgreSQL extension) Handles: SET [GLOBAL | SESSION] variable_name = value
Fields§
§scope: VariableScope§variable: String§value: ExpressionTrait Implementations§
Source§impl Clone for SetVariableStmt
impl Clone for SetVariableStmt
Source§fn clone(&self) -> SetVariableStmt
fn clone(&self) -> SetVariableStmt
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 SetVariableStmt
impl Debug for SetVariableStmt
Source§impl PartialEq for SetVariableStmt
impl PartialEq for SetVariableStmt
impl StructuralPartialEq for SetVariableStmt
Auto Trait Implementations§
impl Freeze for SetVariableStmt
impl RefUnwindSafe for SetVariableStmt
impl Send for SetVariableStmt
impl Sync for SetVariableStmt
impl Unpin for SetVariableStmt
impl UnwindSafe for SetVariableStmt
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