Struct mz_sql_parser::ast::defs::statement::DropRolesStatement
source · pub struct DropRolesStatement {
pub if_exists: bool,
pub names: Vec<UnresolvedItemName>,
}
Fields§
§if_exists: bool
An optional IF EXISTS
clause. (Non-standard.)
names: Vec<UnresolvedItemName>
One or more objects to drop. (ANSI SQL requires exactly one.)
Trait Implementations§
source§impl AstDisplay for DropRolesStatement
impl AstDisplay for DropRolesStatement
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 DropRolesStatement
impl Clone for DropRolesStatement
source§fn clone(&self) -> DropRolesStatement
fn clone(&self) -> DropRolesStatement
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 DropRolesStatement
impl Debug for DropRolesStatement
source§impl Display for DropRolesStatement
impl Display for DropRolesStatement
source§impl Hash for DropRolesStatement
impl Hash for DropRolesStatement
source§impl PartialEq<DropRolesStatement> for DropRolesStatement
impl PartialEq<DropRolesStatement> for DropRolesStatement
source§fn eq(&self, other: &DropRolesStatement) -> bool
fn eq(&self, other: &DropRolesStatement) -> 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 DropRolesStatement
impl<'ast, T: AstInfo> VisitMutNode<'ast, T> for DropRolesStatement
source§impl<'ast, T: AstInfo> VisitNode<'ast, T> for DropRolesStatement
impl<'ast, T: AstInfo> VisitNode<'ast, T> for DropRolesStatement
impl Eq for DropRolesStatement
impl StructuralEq for DropRolesStatement
impl StructuralPartialEq for DropRolesStatement
Auto Trait Implementations§
impl RefUnwindSafe for DropRolesStatement
impl Send for DropRolesStatement
impl Sync for DropRolesStatement
impl Unpin for DropRolesStatement
impl UnwindSafe for DropRolesStatement
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