pub struct PermissionFile {
pub default: Option<DefaultPermission>,
pub set: Vec<PermissionSet>,
pub permission: Vec<Permission>,
}
Expand description
Permission file that can define a default permission, a set of permissions or a list of inlined permissions.
Fields§
§default: Option<DefaultPermission>
The default permission set for the plugin
set: Vec<PermissionSet>
A list of permissions sets defined
permission: Vec<Permission>
A list of inlined permissions
Trait Implementations§
Source§impl Debug for PermissionFile
impl Debug for PermissionFile
Source§impl<'de> Deserialize<'de> for PermissionFile
impl<'de> Deserialize<'de> for PermissionFile
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 PermissionFile
impl RefUnwindSafe for PermissionFile
impl Send for PermissionFile
impl Sync for PermissionFile
impl Unpin for PermissionFile
impl UnwindSafe for PermissionFile
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