Struct mz_sql_parser::ast::DropDatabaseStatement
source · pub struct DropDatabaseStatement {
pub name: UnresolvedDatabaseName,
pub if_exists: bool,
pub restrict: bool,
}
Fields§
§name: UnresolvedDatabaseName
§if_exists: bool
§restrict: bool
Trait Implementations§
source§impl AstDisplay for DropDatabaseStatement
impl AstDisplay for DropDatabaseStatement
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 DropDatabaseStatement
impl Clone for DropDatabaseStatement
source§fn clone(&self) -> DropDatabaseStatement
fn clone(&self) -> DropDatabaseStatement
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 DropDatabaseStatement
impl Debug for DropDatabaseStatement
source§impl Display for DropDatabaseStatement
impl Display for DropDatabaseStatement
source§impl Hash for DropDatabaseStatement
impl Hash for DropDatabaseStatement
source§impl PartialEq<DropDatabaseStatement> for DropDatabaseStatement
impl PartialEq<DropDatabaseStatement> for DropDatabaseStatement
source§fn eq(&self, other: &DropDatabaseStatement) -> bool
fn eq(&self, other: &DropDatabaseStatement) -> 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 DropDatabaseStatement
impl<'ast, T: AstInfo> VisitMutNode<'ast, T> for DropDatabaseStatement
source§impl<'ast, T: AstInfo> VisitNode<'ast, T> for DropDatabaseStatement
impl<'ast, T: AstInfo> VisitNode<'ast, T> for DropDatabaseStatement
impl Eq for DropDatabaseStatement
impl StructuralEq for DropDatabaseStatement
impl StructuralPartialEq for DropDatabaseStatement
Auto Trait Implementations§
impl RefUnwindSafe for DropDatabaseStatement
impl Send for DropDatabaseStatement
impl Sync for DropDatabaseStatement
impl Unpin for DropDatabaseStatement
impl UnwindSafe for DropDatabaseStatement
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> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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