Enum partiql_ast::ast::ScopeQualifier
source · pub enum ScopeQualifier {
Unqualified,
Qualified,
}
Expand description
Indicates scope search order when resolving variables.
Has no effect except within FROM
sources.
Variants§
Unqualified
The variable was NOT prefixed with @
.
Resolve the variable by looking first in the database environment, then in the ‘lexical’ scope.
Qualified
The variable WAS prefixed with @
.
Resolve the variable by looking first in the ‘lexical’ scope, then in the database environment.
Trait Implementations§
source§impl Clone for ScopeQualifier
impl Clone for ScopeQualifier
source§fn clone(&self) -> ScopeQualifier
fn clone(&self) -> ScopeQualifier
Returns a copy 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 ScopeQualifier
impl Debug for ScopeQualifier
source§impl PartialEq<ScopeQualifier> for ScopeQualifier
impl PartialEq<ScopeQualifier> for ScopeQualifier
source§fn eq(&self, other: &ScopeQualifier) -> bool
fn eq(&self, other: &ScopeQualifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ScopeQualifier
impl StructuralEq for ScopeQualifier
impl StructuralPartialEq for ScopeQualifier
Auto Trait Implementations§
impl RefUnwindSafe for ScopeQualifier
impl Send for ScopeQualifier
impl Sync for ScopeQualifier
impl Unpin for ScopeQualifier
impl UnwindSafe for ScopeQualifier
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.