Enum sqlparser::ast::Privileges
source · [−]Expand description
Privileges granted in a GRANT statement or revoked in a REVOKE statement.
Variants
All
Fields
with_privileges_keyword: bool
Optional keyword from the spec, ignored in practice
All privileges applicable to the object type
Actions(Vec<Action>)
Specific privileges (e.g. SELECT
, INSERT
)
Trait Implementations
sourceimpl Clone for Privileges
impl Clone for Privileges
sourcefn clone(&self) -> Privileges
fn clone(&self) -> Privileges
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Privileges
impl Debug for Privileges
sourceimpl Display for Privileges
impl Display for Privileges
sourceimpl Hash for Privileges
impl Hash for Privileges
sourceimpl PartialEq<Privileges> for Privileges
impl PartialEq<Privileges> for Privileges
sourcefn eq(&self, other: &Privileges) -> bool
fn eq(&self, other: &Privileges) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Privileges) -> bool
fn ne(&self, other: &Privileges) -> bool
This method tests for !=
.
impl Eq for Privileges
impl StructuralEq for Privileges
impl StructuralPartialEq for Privileges
Auto Trait Implementations
impl RefUnwindSafe for Privileges
impl Send for Privileges
impl Sync for Privileges
impl Unpin for Privileges
impl UnwindSafe for Privileges
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more