pub enum PrivilegeObjectType {
Table {
explicit: bool,
},
Function,
Procedure,
}Expand description
The object-type keyword of a MySQL grant object (opt_acl_type).
Variants§
Table
TABLE — the default object type. explicit records whether the
redundant TABLE keyword was written so a source-fidelity render replays it.
Function
FUNCTION.
Procedure
PROCEDURE.
Trait Implementations§
Source§impl Clone for PrivilegeObjectType
impl Clone for PrivilegeObjectType
Source§fn clone(&self) -> PrivilegeObjectType
fn clone(&self) -> PrivilegeObjectType
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 moreimpl Copy for PrivilegeObjectType
Source§impl Debug for PrivilegeObjectType
impl Debug for PrivilegeObjectType
Source§impl<'de> Deserialize<'de> for PrivilegeObjectType
impl<'de> Deserialize<'de> for PrivilegeObjectType
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
impl Eq for PrivilegeObjectType
Source§impl Hash for PrivilegeObjectType
impl Hash for PrivilegeObjectType
Source§impl PartialEq for PrivilegeObjectType
impl PartialEq for PrivilegeObjectType
Source§impl Serialize for PrivilegeObjectType
impl Serialize for PrivilegeObjectType
impl StructuralPartialEq for PrivilegeObjectType
Auto Trait Implementations§
impl Freeze for PrivilegeObjectType
impl RefUnwindSafe for PrivilegeObjectType
impl Send for PrivilegeObjectType
impl Sync for PrivilegeObjectType
impl Unpin for PrivilegeObjectType
impl UnsafeUnpin for PrivilegeObjectType
impl UnwindSafe for PrivilegeObjectType
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