pub struct PermissionSet {
pub identifier: String,
pub description: String,
pub permissions: Vec<String>,
}
Expand description
A set of direct permissions grouped together under a new name.
Fields§
§identifier: String
A unique identifier for the permission.
description: String
Human-readable description of what the permission does.
permissions: Vec<String>
All permissions this set contains.
Trait Implementations§
Source§impl Debug for PermissionSet
impl Debug for PermissionSet
Source§impl<'de> Deserialize<'de> for PermissionSet
impl<'de> Deserialize<'de> for PermissionSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PermissionSet
impl RefUnwindSafe for PermissionSet
impl Send for PermissionSet
impl Sync for PermissionSet
impl Unpin for PermissionSet
impl UnwindSafe for PermissionSet
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