Struct grant::connection::UserDatabaseRole
source · pub struct UserDatabaseRole {
pub name: String,
pub database_name: String,
pub has_create: bool,
pub has_temp: bool,
}
Expand description
Presentation for a user database privilege in the database
which a users has create
or temp
on database
Fields§
§name: String
§database_name: String
§has_create: bool
§has_temp: bool
Implementations§
source§impl UserDatabaseRole
impl UserDatabaseRole
pub fn perm_to_string(&self, with_name: bool) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserDatabaseRole
impl RefUnwindSafe for UserDatabaseRole
impl Send for UserDatabaseRole
impl Sync for UserDatabaseRole
impl Unpin for UserDatabaseRole
impl UnwindSafe for UserDatabaseRole
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more