Enum mz_sql_parser::ast::defs::statement::CreateRoleOption
source · pub enum CreateRoleOption {
SuperUser,
NoSuperUser,
Login,
NoLogin,
}
Expand description
Options that can be attached to CreateRoleStatement
.
Variants§
SuperUser
The SUPERUSER
option.
NoSuperUser
The NOSUPERUSER
option.
Login
The LOGIN
option.
NoLogin
The NOLOGIN
option.
Trait Implementations§
source§impl AstDisplay for CreateRoleOption
impl AstDisplay for CreateRoleOption
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 CreateRoleOption
impl Clone for CreateRoleOption
source§fn clone(&self) -> CreateRoleOption
fn clone(&self) -> CreateRoleOption
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 CreateRoleOption
impl Debug for CreateRoleOption
source§impl Display for CreateRoleOption
impl Display for CreateRoleOption
source§impl Hash for CreateRoleOption
impl Hash for CreateRoleOption
source§impl PartialEq<CreateRoleOption> for CreateRoleOption
impl PartialEq<CreateRoleOption> for CreateRoleOption
source§fn eq(&self, other: &CreateRoleOption) -> bool
fn eq(&self, other: &CreateRoleOption) -> 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 CreateRoleOption
impl<'ast, T: AstInfo> VisitMutNode<'ast, T> for CreateRoleOption
source§impl<'ast, T: AstInfo> VisitNode<'ast, T> for CreateRoleOption
impl<'ast, T: AstInfo> VisitNode<'ast, T> for CreateRoleOption
impl Eq for CreateRoleOption
impl StructuralEq for CreateRoleOption
impl StructuralPartialEq for CreateRoleOption
Auto Trait Implementations§
impl RefUnwindSafe for CreateRoleOption
impl Send for CreateRoleOption
impl Sync for CreateRoleOption
impl Unpin for CreateRoleOption
impl UnwindSafe for CreateRoleOption
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