pub type PbUserInfo = UserInfo;
Expand description
Alias for UserInfo
.
Aliased Type§
struct PbUserInfo {
pub id: u32,
pub name: String,
pub is_super: bool,
pub can_create_db: bool,
pub can_create_user: bool,
pub can_login: bool,
pub auth_info: Option<AuthInfo>,
pub grant_privileges: Vec<GrantPrivilege>,
}
Fields§
§id: u32
§name: String
§is_super: bool
§can_create_db: bool
§can_create_user: bool
§can_login: bool
§auth_info: Option<AuthInfo>
§grant_privileges: Vec<GrantPrivilege>
/ Granted privileges will be only updated through the command of GRANT/REVOKE.