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