pub enum GrantSyntax {
RoleMembership {
role: Identifier,
member: Identifier,
admin_option: bool,
},
ObjectPrivileges {
privileges: Vec<PrivilegeSyntax>,
target: PrivilegeTargetSyntax,
grantee: Identifier,
grant_option: bool,
},
}Variants§
RoleMembership
ObjectPrivileges
Trait Implementations§
Source§impl Clone for GrantSyntax
impl Clone for GrantSyntax
Source§fn clone(&self) -> GrantSyntax
fn clone(&self) -> GrantSyntax
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 GrantSyntax
impl Debug for GrantSyntax
Source§impl PartialEq for GrantSyntax
impl PartialEq for GrantSyntax
impl StructuralPartialEq for GrantSyntax
Auto Trait Implementations§
impl Freeze for GrantSyntax
impl RefUnwindSafe for GrantSyntax
impl Send for GrantSyntax
impl Sync for GrantSyntax
impl Unpin for GrantSyntax
impl UnsafeUnpin for GrantSyntax
impl UnwindSafe for GrantSyntax
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