Enum sqlparser::ast::ContextModifier
source · [−]pub enum ContextModifier {
None,
Local,
Session,
}
Expand description
Optional context modifier for statements that can be or LOCAL
, or SESSION
.
Variants
None
No context defined. Each dialect defines the default in this scenario.
Local
LOCAL
identifier, usually related to transactional states.
Session
SESSION
identifier
Trait Implementations
sourceimpl Clone for ContextModifier
impl Clone for ContextModifier
sourcefn clone(&self) -> ContextModifier
fn clone(&self) -> ContextModifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContextModifier
impl Debug for ContextModifier
sourceimpl Display for ContextModifier
impl Display for ContextModifier
sourceimpl Hash for ContextModifier
impl Hash for ContextModifier
sourceimpl PartialEq<ContextModifier> for ContextModifier
impl PartialEq<ContextModifier> for ContextModifier
sourcefn eq(&self, other: &ContextModifier) -> bool
fn eq(&self, other: &ContextModifier) -> bool
impl Eq for ContextModifier
impl StructuralEq for ContextModifier
impl StructuralPartialEq for ContextModifier
Auto Trait Implementations
impl RefUnwindSafe for ContextModifier
impl Send for ContextModifier
impl Sync for ContextModifier
impl Unpin for ContextModifier
impl UnwindSafe for ContextModifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more