pub enum SetScope {
Session,
Local,
}Expand description
Visibility scope of a SET assignment.
Variants§
Session
SET [SESSION] parameter = value — applies to the current
session until explicitly reset.
Local
SET LOCAL parameter = value — applies only within the current
transaction and is discarded on COMMIT/ROLLBACK.
Trait Implementations§
impl Copy for SetScope
impl Eq for SetScope
impl StructuralPartialEq for SetScope
Auto Trait Implementations§
impl Forget for SetScope
impl Freeze for SetScope
impl Move for SetScope
impl RefUnwindSafe for SetScope
impl Send for SetScope
impl Sync for SetScope
impl Unpin for SetScope
impl UnsafeUnpin for SetScope
impl UnwindSafe for SetScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.