Enum mz_sql_parser::ast::defs::statement::TailRelation
source · [−]pub enum TailRelation<T: AstInfo> {
Name(T::ObjectName),
Query(Query<T>),
}
Variants
Name(T::ObjectName)
Query(Query<T>)
Trait Implementations
sourceimpl<T: AstInfo> AstDisplay for TailRelation<T>
impl<T: AstInfo> AstDisplay for TailRelation<T>
fn fmt<W: Write>(&self, f: &mut AstFormatter<W>)
fn to_ast_string(&self) -> String
fn to_ast_string_stable(&self) -> String
sourceimpl<T: Clone + AstInfo> Clone for TailRelation<T>where
T::ObjectName: Clone,
impl<T: Clone + AstInfo> Clone for TailRelation<T>where
T::ObjectName: Clone,
sourcefn clone(&self) -> TailRelation<T>
fn clone(&self) -> TailRelation<T>
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<T: Debug + AstInfo> Debug for TailRelation<T>where
T::ObjectName: Debug,
impl<T: Debug + AstInfo> Debug for TailRelation<T>where
T::ObjectName: Debug,
sourceimpl<T: AstInfo> Display for TailRelation<T>
impl<T: AstInfo> Display for TailRelation<T>
sourceimpl<T: AstInfo, T2: AstInfo> FoldNode<T, T2> for TailRelation<T>
impl<T: AstInfo, T2: AstInfo> FoldNode<T, T2> for TailRelation<T>
sourceimpl<T: Hash + AstInfo> Hash for TailRelation<T>where
T::ObjectName: Hash,
impl<T: Hash + AstInfo> Hash for TailRelation<T>where
T::ObjectName: Hash,
sourceimpl<T: PartialEq + AstInfo> PartialEq<TailRelation<T>> for TailRelation<T>where
T::ObjectName: PartialEq,
impl<T: PartialEq + AstInfo> PartialEq<TailRelation<T>> for TailRelation<T>where
T::ObjectName: PartialEq,
sourcefn eq(&self, other: &TailRelation<T>) -> bool
fn eq(&self, other: &TailRelation<T>) -> bool
sourceimpl<'ast, T: AstInfo> VisitMutNode<'ast, T> for TailRelation<T>
impl<'ast, T: AstInfo> VisitMutNode<'ast, T> for TailRelation<T>
sourceimpl<'ast, T: AstInfo> VisitNode<'ast, T> for TailRelation<T>
impl<'ast, T: AstInfo> VisitNode<'ast, T> for TailRelation<T>
impl<T: Eq + AstInfo> Eq for TailRelation<T>where
T::ObjectName: Eq,
impl<T: AstInfo> StructuralEq for TailRelation<T>
impl<T: AstInfo> StructuralPartialEq for TailRelation<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for TailRelation<T>where
<T as AstInfo>::ClusterName: RefUnwindSafe,
<T as AstInfo>::CteId: RefUnwindSafe,
<T as AstInfo>::DataType: RefUnwindSafe,
<T as AstInfo>::DatabaseName: RefUnwindSafe,
<T as AstInfo>::ObjectName: RefUnwindSafe,
<T as AstInfo>::SchemaName: RefUnwindSafe,
impl<T> Send for TailRelation<T>where
<T as AstInfo>::ClusterName: Send,
<T as AstInfo>::CteId: Send,
<T as AstInfo>::DataType: Send,
<T as AstInfo>::DatabaseName: Send,
<T as AstInfo>::ObjectName: Send,
<T as AstInfo>::SchemaName: Send,
impl<T> Sync for TailRelation<T>where
<T as AstInfo>::ClusterName: Sync,
<T as AstInfo>::CteId: Sync,
<T as AstInfo>::DataType: Sync,
<T as AstInfo>::DatabaseName: Sync,
<T as AstInfo>::ObjectName: Sync,
<T as AstInfo>::SchemaName: Sync,
impl<T> Unpin for TailRelation<T>where
<T as AstInfo>::ClusterName: Unpin,
<T as AstInfo>::CteId: Unpin,
<T as AstInfo>::DataType: Unpin,
<T as AstInfo>::DatabaseName: Unpin,
<T as AstInfo>::ObjectName: Unpin,
<T as AstInfo>::SchemaName: Unpin,
impl<T> UnwindSafe for TailRelation<T>where
<T as AstInfo>::ClusterName: UnwindSafe,
<T as AstInfo>::CteId: UnwindSafe,
<T as AstInfo>::DataType: UnwindSafe,
<T as AstInfo>::DatabaseName: UnwindSafe,
<T as AstInfo>::ObjectName: UnwindSafe,
<T as AstInfo>::SchemaName: UnwindSafe,
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
sourceimpl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
sourceimpl<T> DisplayExt for Twhere
T: Display,
impl<T> DisplayExt for Twhere
T: Display,
sourcefn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format (
{:#}
) and returns it.sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request