Struct datafusion::sql::sqlparser::ast::SymbolDefinition
source · pub struct SymbolDefinition {
pub symbol: Ident,
pub definition: Expr,
}
Expand description
A symbol defined in a MATCH_RECOGNIZE
operation.
See https://docs.snowflake.com/en/sql-reference/constructs/match_recognize#define-defining-symbols.
Fields§
§symbol: Ident
§definition: Expr
Trait Implementations§
source§impl Clone for SymbolDefinition
impl Clone for SymbolDefinition
source§fn clone(&self) -> SymbolDefinition
fn clone(&self) -> SymbolDefinition
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 SymbolDefinition
impl Debug for SymbolDefinition
source§impl Display for SymbolDefinition
impl Display for SymbolDefinition
source§impl Hash for SymbolDefinition
impl Hash for SymbolDefinition
source§impl Ord for SymbolDefinition
impl Ord for SymbolDefinition
source§fn cmp(&self, other: &SymbolDefinition) -> Ordering
fn cmp(&self, other: &SymbolDefinition) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SymbolDefinition
impl PartialEq for SymbolDefinition
source§impl PartialOrd for SymbolDefinition
impl PartialOrd for SymbolDefinition
source§impl Visit for SymbolDefinition
impl Visit for SymbolDefinition
source§impl VisitMut for SymbolDefinition
impl VisitMut for SymbolDefinition
fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>where
V: VisitorMut,
impl Eq for SymbolDefinition
impl StructuralPartialEq for SymbolDefinition
Auto Trait Implementations§
impl Freeze for SymbolDefinition
impl RefUnwindSafe for SymbolDefinition
impl Send for SymbolDefinition
impl Sync for SymbolDefinition
impl Unpin for SymbolDefinition
impl UnwindSafe for SymbolDefinition
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more