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