Struct sql_from_models_parser::ast::SetVariable
source · pub struct SetVariable {
pub local: bool,
pub hivevar: bool,
pub variable: Ident,
pub value: Vec<SetVariableValue>,
}
Expand description
SET
Note: this is not a standard SQL statement, but it is supported by at least MySQL and PostgreSQL. Not all MySQL-specific syntatic forms are supported yet.
Fields§
§local: bool
§hivevar: bool
§variable: Ident
§value: Vec<SetVariableValue>
Trait Implementations§
source§impl Clone for SetVariable
impl Clone for SetVariable
source§fn clone(&self) -> SetVariable
fn clone(&self) -> SetVariable
Returns a copy 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 SetVariable
impl Debug for SetVariable
source§impl Display for SetVariable
impl Display for SetVariable
source§impl Hash for SetVariable
impl Hash for SetVariable
source§impl PartialEq for SetVariable
impl PartialEq for SetVariable
source§fn eq(&self, other: &SetVariable) -> bool
fn eq(&self, other: &SetVariable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SetVariable
impl StructuralPartialEq for SetVariable
Auto Trait Implementations§
impl RefUnwindSafe for SetVariable
impl Send for SetVariable
impl Sync for SetVariable
impl Unpin for SetVariable
impl UnwindSafe for SetVariable
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