pub enum SetVariableKeyword {
On,
All,
Binary,
Row,
System,
}Expand description
A keyword the MySQL SET grammar special-cases as a string value in
set_expr_or_default position.
Variants§
Trait Implementations§
Source§impl Clone for SetVariableKeyword
impl Clone for SetVariableKeyword
Source§fn clone(&self) -> SetVariableKeyword
fn clone(&self) -> SetVariableKeyword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetVariableKeyword
Source§impl Debug for SetVariableKeyword
impl Debug for SetVariableKeyword
Source§impl<'de> Deserialize<'de> for SetVariableKeyword
impl<'de> Deserialize<'de> for SetVariableKeyword
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SetVariableKeyword
Source§impl Hash for SetVariableKeyword
impl Hash for SetVariableKeyword
Source§impl PartialEq for SetVariableKeyword
impl PartialEq for SetVariableKeyword
Source§impl Render for SetVariableKeyword
impl Render for SetVariableKeyword
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for SetVariableKeyword
impl Serialize for SetVariableKeyword
impl StructuralPartialEq for SetVariableKeyword
Auto Trait Implementations§
impl Freeze for SetVariableKeyword
impl RefUnwindSafe for SetVariableKeyword
impl Send for SetVariableKeyword
impl Sync for SetVariableKeyword
impl Unpin for SetVariableKeyword
impl UnsafeUnpin for SetVariableKeyword
impl UnwindSafe for SetVariableKeyword
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