Enum mz_sql_parser::ast::defs::statement::ClusterOption
source · [−]pub enum ClusterOption<T: AstInfo> {
Replicas(Vec<ReplicaDefinition<T>>),
}
Expand description
An option in a CREATE CLUSTER
statement.
Variants
Replicas(Vec<ReplicaDefinition<T>>)
The REPLICAS
option.
Trait Implementations
sourceimpl<T: AstInfo> AstDisplay for ClusterOption<T>
impl<T: AstInfo> AstDisplay for ClusterOption<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 ClusterOption<T>
impl<T: Clone + AstInfo> Clone for ClusterOption<T>
sourcefn clone(&self) -> ClusterOption<T>
fn clone(&self) -> ClusterOption<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 ClusterOption<T>
impl<T: Debug + AstInfo> Debug for ClusterOption<T>
sourceimpl<T: AstInfo, T2: AstInfo> FoldNode<T, T2> for ClusterOption<T>
impl<T: AstInfo, T2: AstInfo> FoldNode<T, T2> for ClusterOption<T>
sourceimpl<T: Hash + AstInfo> Hash for ClusterOption<T>
impl<T: Hash + AstInfo> Hash for ClusterOption<T>
sourceimpl<T: PartialEq + AstInfo> PartialEq<ClusterOption<T>> for ClusterOption<T>
impl<T: PartialEq + AstInfo> PartialEq<ClusterOption<T>> for ClusterOption<T>
sourcefn eq(&self, other: &ClusterOption<T>) -> bool
fn eq(&self, other: &ClusterOption<T>) -> bool
sourceimpl<'ast, T: AstInfo> VisitMutNode<'ast, T> for ClusterOption<T>
impl<'ast, T: AstInfo> VisitMutNode<'ast, T> for ClusterOption<T>
sourceimpl<'ast, T: AstInfo> VisitNode<'ast, T> for ClusterOption<T>
impl<'ast, T: AstInfo> VisitNode<'ast, T> for ClusterOption<T>
impl<T: Eq + AstInfo> Eq for ClusterOption<T>
impl<T: AstInfo> StructuralEq for ClusterOption<T>
impl<T: AstInfo> StructuralPartialEq for ClusterOption<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ClusterOption<T>where
<T as AstInfo>::DataType: RefUnwindSafe,
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> Send for ClusterOption<T>where
<T as AstInfo>::DataType: Send,
<T as AstInfo>::ObjectName: Send,
impl<T> Sync for ClusterOption<T>where
<T as AstInfo>::DataType: Sync,
<T as AstInfo>::ObjectName: Sync,
impl<T> Unpin for ClusterOption<T>where
<T as AstInfo>::DataType: Unpin,
<T as AstInfo>::ObjectName: Unpin,
impl<T> UnwindSafe for ClusterOption<T>where
<T as AstInfo>::DataType: UnwindSafe,
<T as AstInfo>::ObjectName: 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<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