pub enum GrantPrivilege {
}Expand description
A single privilege keyword in a GRANT statement.
Variants§
Select(Span)
Insert(Span)
Update(Span)
Delete(Span)
Truncate(Span)
References(Span)
Trigger(Span)
Maintain(Span)
Usage(Span)
Create(Span)
Connect(Span)
Temporary(Span)
TEMPORARY or TEMP
Execute(Span)
Set(Span)
AlterSystem(Span)
ALTER SYSTEM - span covers both keywords
All(Span, Option<Span>)
ALL [ PRIVILEGES ] - second span is the optional PRIVILEGES keyword
Trait Implementations§
Source§impl Clone for GrantPrivilege
impl Clone for GrantPrivilege
Source§fn clone(&self) -> GrantPrivilege
fn clone(&self) -> GrantPrivilege
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 GrantPrivilege
impl Debug for GrantPrivilege
Auto Trait Implementations§
impl Freeze for GrantPrivilege
impl RefUnwindSafe for GrantPrivilege
impl Send for GrantPrivilege
impl Sync for GrantPrivilege
impl Unpin for GrantPrivilege
impl UnsafeUnpin for GrantPrivilege
impl UnwindSafe for GrantPrivilege
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