Enum sql_parser::ast::defs::statement::CreateRoleOption [−][src]
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
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
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