Struct grant::connection::UserTableRole
source · pub struct UserTableRole {
pub name: String,
pub schema_name: String,
pub table_name: String,
pub has_select: bool,
pub has_insert: bool,
pub has_update: bool,
pub has_delete: bool,
pub has_references: bool,
}
Expand description
Presentation for a user table privilege in the database
which a users has select
, insert
, update
, delete
or reference
on table
Fields§
§name: String
§schema_name: String
§table_name: String
§has_select: bool
§has_insert: bool
§has_update: bool
§has_delete: bool
§has_references: bool
Implementations§
source§impl UserTableRole
impl UserTableRole
pub fn perm_to_string(&self, with_name: bool) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserTableRole
impl RefUnwindSafe for UserTableRole
impl Send for UserTableRole
impl Sync for UserTableRole
impl Unpin for UserTableRole
impl UnwindSafe for UserTableRole
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