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 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 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
impl Eq for SetVariable
impl StructuralPartialEq for SetVariable
Auto Trait Implementations§
impl Freeze for SetVariable
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