Struct mz_sql_parser::ast::DropClusterReplicasStatement
source · pub struct DropClusterReplicasStatement {
pub if_exists: bool,
pub names: Vec<QualifiedReplica>,
}
Fields§
§if_exists: bool
An optional IF EXISTS
clause. (Non-standard.)
names: Vec<QualifiedReplica>
One or more objects to drop. (ANSI SQL requires exactly one.)
Trait Implementations§
source§impl AstDisplay for DropClusterReplicasStatement
impl AstDisplay for DropClusterReplicasStatement
fn fmt<W: Write>(&self, f: &mut AstFormatter<W>)
fn to_ast_string(&self) -> String
fn to_ast_string_stable(&self) -> String
source§impl Clone for DropClusterReplicasStatement
impl Clone for DropClusterReplicasStatement
source§fn clone(&self) -> DropClusterReplicasStatement
fn clone(&self) -> DropClusterReplicasStatement
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 DropClusterReplicasStatement
impl Debug for DropClusterReplicasStatement
source§impl Hash for DropClusterReplicasStatement
impl Hash for DropClusterReplicasStatement
source§impl PartialEq<DropClusterReplicasStatement> for DropClusterReplicasStatement
impl PartialEq<DropClusterReplicasStatement> for DropClusterReplicasStatement
source§fn eq(&self, other: &DropClusterReplicasStatement) -> bool
fn eq(&self, other: &DropClusterReplicasStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'ast, T: AstInfo> VisitMutNode<'ast, T> for DropClusterReplicasStatement
impl<'ast, T: AstInfo> VisitMutNode<'ast, T> for DropClusterReplicasStatement
source§impl<'ast, T: AstInfo> VisitNode<'ast, T> for DropClusterReplicasStatement
impl<'ast, T: AstInfo> VisitNode<'ast, T> for DropClusterReplicasStatement
impl Eq for DropClusterReplicasStatement
impl StructuralEq for DropClusterReplicasStatement
impl StructuralPartialEq for DropClusterReplicasStatement
Auto Trait Implementations§
impl RefUnwindSafe for DropClusterReplicasStatement
impl Send for DropClusterReplicasStatement
impl Sync for DropClusterReplicasStatement
impl Unpin for DropClusterReplicasStatement
impl UnwindSafe for DropClusterReplicasStatement
Blanket Implementations§
source§impl<T> DisplayExt for Twhere
T: Display,
impl<T> DisplayExt for Twhere
T: Display,
source§fn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format (
{:#}
) and returns it.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.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request