pub enum Privileges {
Show 22 variants
Alter,
CreateView,
Create,
Delete,
Drop,
Event,
Index,
Insert,
LockTables,
References,
Select,
ShowView,
Truncate,
Update,
Read,
Write,
Connection,
Fast,
ReadWrite,
AlterRoutine,
CreateRoutine,
Transaction,
}Expand description
Список привилегий пользователя базы данных
Variants§
Alter
CreateView
Create
Delete
Drop
Event
Index
Insert
LockTables
References
Select
ShowView
Truncate
Update
Read
Write
Connection
Fast
ReadWrite
AlterRoutine
CreateRoutine
Transaction
Trait Implementations§
Source§impl Clone for Privileges
impl Clone for Privileges
Source§fn clone(&self) -> Privileges
fn clone(&self) -> Privileges
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Privileges
impl Debug for Privileges
Source§impl Default for Privileges
impl Default for Privileges
Source§fn default() -> Privileges
fn default() -> Privileges
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Privileges
impl<'de> Deserialize<'de> for Privileges
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for Privileges
impl Hash for Privileges
Source§impl Ord for Privileges
impl Ord for Privileges
Source§fn cmp(&self, other: &Privileges) -> Ordering
fn cmp(&self, other: &Privileges) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Privileges
impl PartialEq for Privileges
Source§fn eq(&self, other: &Privileges) -> bool
fn eq(&self, other: &Privileges) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Privileges
impl PartialOrd for Privileges
Source§impl Serialize for Privileges
impl Serialize for Privileges
impl Copy for Privileges
impl Eq for Privileges
impl StructuralPartialEq for Privileges
Auto Trait Implementations§
impl Freeze for Privileges
impl RefUnwindSafe for Privileges
impl Send for Privileges
impl Sync for Privileges
impl Unpin for Privileges
impl UnsafeUnpin for Privileges
impl UnwindSafe for Privileges
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