pub enum Privilege {
All,
Select,
Insert,
Update,
Delete,
Usage,
Execute,
}Expand description
SQL privilege type.
Variants§
All
ALL PRIVILEGES.
Select
SELECT.
Insert
INSERT.
Update
UPDATE.
Delete
DELETE.
Usage
USAGE (on schemas, sequences).
Execute
EXECUTE (on functions).
Trait Implementations§
impl StructuralPartialEq for Privilege
Auto Trait Implementations§
impl Freeze for Privilege
impl RefUnwindSafe for Privilege
impl Send for Privilege
impl Sync for Privilege
impl Unpin for Privilege
impl UnsafeUnpin for Privilege
impl UnwindSafe for Privilege
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