Struct mz_sql::ast::DropClustersStatement
source · pub struct DropClustersStatement {
pub if_exists: bool,
pub names: Vec<UnresolvedItemName, Global>,
pub cascade: bool,
}
Fields§
§if_exists: bool
An optional IF EXISTS
clause. (Non-standard.)
names: Vec<UnresolvedItemName, Global>
One or more objects to drop. (ANSI SQL requires exactly one.)
cascade: bool
Whether CASCADE
was specified. This will be false
when
RESTRICT
or no drop behavior at all was specified.
Trait Implementations§
source§impl AstDisplay for DropClustersStatement
impl AstDisplay for DropClustersStatement
fn fmt<W>(&self, f: &mut AstFormatter<W>)where
W: Write,
fn to_ast_string(&self) -> String
fn to_ast_string_stable(&self) -> String
source§impl Clone for DropClustersStatement
impl Clone for DropClustersStatement
source§fn clone(&self) -> DropClustersStatement
fn clone(&self) -> DropClustersStatement
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 DropClustersStatement
impl Debug for DropClustersStatement
source§impl Display for DropClustersStatement
impl Display for DropClustersStatement
source§impl Hash for DropClustersStatement
impl Hash for DropClustersStatement
source§impl PartialEq<DropClustersStatement> for DropClustersStatement
impl PartialEq<DropClustersStatement> for DropClustersStatement
source§fn eq(&self, other: &DropClustersStatement) -> bool
fn eq(&self, other: &DropClustersStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'ast, T> VisitMutNode<'ast, T> for DropClustersStatementwhere
T: AstInfo,
impl<'ast, T> VisitMutNode<'ast, T> for DropClustersStatementwhere
T: AstInfo,
source§impl<'ast, T> VisitNode<'ast, T> for DropClustersStatementwhere
T: AstInfo,
impl<'ast, T> VisitNode<'ast, T> for DropClustersStatementwhere
T: AstInfo,
impl Eq for DropClustersStatement
impl StructuralEq for DropClustersStatement
impl StructuralPartialEq for DropClustersStatement
Auto Trait Implementations§
impl RefUnwindSafe for DropClustersStatement
impl Send for DropClustersStatement
impl Sync for DropClustersStatement
impl Unpin for DropClustersStatement
impl UnwindSafe for DropClustersStatement
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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.