Struct sql_parser::ast::defs::statement::CreateRoleStatement [−][src]
pub struct CreateRoleStatement {
pub is_user: bool,
pub name: Ident,
pub options: Vec<CreateRoleOption>,
}
Expand description
A CREATE ROLE
statement.
Fields
is_user: bool
Whether this was actually a CREATE USER
statement.
name: Ident
The specified role.
options: Vec<CreateRoleOption>
Any options that were attached, in the order they were presented.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateRoleStatement
impl Send for CreateRoleStatement
impl Sync for CreateRoleStatement
impl Unpin for CreateRoleStatement
impl UnwindSafe for CreateRoleStatement
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more