pub enum SystemVariableScopeKind {
Global,
Session,
Local,
Persist,
PersistOnly,
}Expand description
Which system-variable scope a SystemVariableScope names.
Variants§
Global
GLOBAL — the server-wide value.
Session
SESSION — the current session’s value.
Local
LOCAL — a SESSION synonym, kept distinct for round-trip fidelity.
Persist
PERSIST — set the runtime value and persist it to mysqld-auto.cnf.
PersistOnly
PERSIST_ONLY — persist without changing the runtime value.
Trait Implementations§
Source§impl Clone for SystemVariableScopeKind
impl Clone for SystemVariableScopeKind
Source§fn clone(&self) -> SystemVariableScopeKind
fn clone(&self) -> SystemVariableScopeKind
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 SystemVariableScopeKind
Source§impl Debug for SystemVariableScopeKind
impl Debug for SystemVariableScopeKind
Source§impl<'de> Deserialize<'de> for SystemVariableScopeKind
impl<'de> Deserialize<'de> for SystemVariableScopeKind
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 SystemVariableScopeKind
Source§impl Hash for SystemVariableScopeKind
impl Hash for SystemVariableScopeKind
Source§impl PartialEq for SystemVariableScopeKind
impl PartialEq for SystemVariableScopeKind
Source§impl Render for SystemVariableScopeKind
impl Render for SystemVariableScopeKind
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
The uppercase keyword-prefix spelling (SET GLOBAL x = …).
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 SystemVariableScopeKind
impl Serialize for SystemVariableScopeKind
impl StructuralPartialEq for SystemVariableScopeKind
Auto Trait Implementations§
impl Freeze for SystemVariableScopeKind
impl RefUnwindSafe for SystemVariableScopeKind
impl Send for SystemVariableScopeKind
impl Sync for SystemVariableScopeKind
impl Unpin for SystemVariableScopeKind
impl UnsafeUnpin for SystemVariableScopeKind
impl UnwindSafe for SystemVariableScopeKind
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