pub type PbUserInfo = UserInfo;Aliased Type§
pub 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>,
pub is_admin: bool,
}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.
is_admin: bool