pub enum PermRevoke {
Admin,
ManageAcl,
Migrate,
AllTables(TablePerms),
Table(u64, TablePerms),
}Expand description
Revoke action — symmetric to PermGrant.
Variants§
Admin
Revoke the admin bypass flag.
ManageAcl
Revoke the manage_acl operational flag.
Migrate
Revoke the migrate operational flag.
AllTables(TablePerms)
Revoke the given perm bits from every table (does not affect per-table grants).
Table(u64, TablePerms)
Revoke the given perm bits from a specific table.
Trait Implementations§
Source§impl CandidType for PermRevoke
impl CandidType for PermRevoke
Source§impl Clone for PermRevoke
impl Clone for PermRevoke
Source§fn clone(&self) -> PermRevoke
fn clone(&self) -> PermRevoke
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 PermRevoke
impl Debug for PermRevoke
Source§impl<'de> Deserialize<'de> for PermRevoke
impl<'de> Deserialize<'de> for PermRevoke
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PermRevoke, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PermRevoke, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PermRevoke
impl PartialEq for PermRevoke
Source§impl Serialize for PermRevoke
impl Serialize for PermRevoke
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PermRevoke
impl StructuralPartialEq for PermRevoke
Auto Trait Implementations§
impl Freeze for PermRevoke
impl RefUnwindSafe for PermRevoke
impl Send for PermRevoke
impl Sync for PermRevoke
impl Unpin for PermRevoke
impl UnsafeUnpin for PermRevoke
impl UnwindSafe for PermRevoke
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