pub enum PrivilegeType {
All,
Select,
Insert,
Update,
Delete,
Truncate,
References,
Trigger,
}Expand description
PostgreSQL privilege type
Variants§
All
All privileges
Select
SELECT privilege
Insert
INSERT privilege
Update
UPDATE privilege
Delete
DELETE privilege
Truncate
TRUNCATE privilege
References
REFERENCES privilege
Trigger
TRIGGER privilege
Implementations§
Trait Implementations§
Source§impl Clone for PrivilegeType
impl Clone for PrivilegeType
Source§fn clone(&self) -> PrivilegeType
fn clone(&self) -> PrivilegeType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrivilegeType
impl Debug for PrivilegeType
Source§impl Default for PrivilegeType
impl Default for PrivilegeType
Source§fn default() -> PrivilegeType
fn default() -> PrivilegeType
Returns the “default value” for a type. Read more
Source§impl Hash for PrivilegeType
impl Hash for PrivilegeType
Source§impl PartialEq for PrivilegeType
impl PartialEq for PrivilegeType
impl Copy for PrivilegeType
impl Eq for PrivilegeType
impl StructuralPartialEq for PrivilegeType
Auto Trait Implementations§
impl Freeze for PrivilegeType
impl RefUnwindSafe for PrivilegeType
impl Send for PrivilegeType
impl Sync for PrivilegeType
impl Unpin for PrivilegeType
impl UnwindSafe for PrivilegeType
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