CreateRole in sqlparser::ast - Rust

pub struct CreateRole {
Show 18 fields pub names: Vec<ObjectName>, pub if_not_exists: bool, pub login: Option<bool>, pub inherit: Option<bool>, pub bypassrls: Option<bool>, pub password: Option<Password>, pub superuser: Option<bool>, pub create_db: Option<bool>, pub create_role: Option<bool>, pub replication: Option<bool>, pub connection_limit: Option<Expr>, pub valid_until: Option<Expr>, pub in_role: Vec<Ident>, pub in_group: Vec<Ident>, pub role: Vec<Ident>, pub user: Vec<Ident>, pub admin: Vec<Ident>, pub authorization_owner: Option<ObjectName>,
}
Expand description

Role names to create.

Whether IF NOT EXISTS was specified.

Whether LOGIN was specified.

Whether INHERIT was specified.

Whether BYPASSRLS was specified.

Optional password for the role.

Whether SUPERUSER was specified.

Whether CREATEDB was specified.

Whether CREATEROLE was specified.

Whether REPLICATION privilege was specified.

Optional connection limit expression.

Optional account validity expression.

Members of IN ROLE clause.

Members of IN GROUP clause.

Roles listed in ROLE clause.

Users listed in USER clause.

Admin users listed in ADMIN clause.

Optional authorization owner.

§
§
§
§
§
§