pub enum PermGrant {
Admin,
ManageAcl,
Migrate,
AllTables(TablePerms),
Table(u64, TablePerms),
}Expand description
Grant action.
Variants§
Admin
Grant the admin bypass flag.
ManageAcl
Grant the manage_acl operational flag.
Migrate
Grant the migrate operational flag.
AllTables(TablePerms)
Grant the given perm bits on every table.
Table(u64, TablePerms)
Grant the given perm bits on a specific table.
Trait Implementations§
Source§impl CandidType for PermGrant
impl CandidType for PermGrant
Source§impl<'de> Deserialize<'de> for PermGrant
impl<'de> Deserialize<'de> for PermGrant
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PermGrant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PermGrant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PermGrant
impl Serialize for PermGrant
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 PermGrant
impl StructuralPartialEq for PermGrant
Auto Trait Implementations§
impl Freeze for PermGrant
impl RefUnwindSafe for PermGrant
impl Send for PermGrant
impl Sync for PermGrant
impl Unpin for PermGrant
impl UnsafeUnpin for PermGrant
impl UnwindSafe for PermGrant
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