pub struct Manifest {
pub default_permission: Option<PermissionSet>,
pub permissions: BTreeMap<String, Permission>,
pub permission_sets: BTreeMap<String, PermissionSet>,
pub global_scope_schema: Option<Value>,
}
Expand description
Plugin manifest.
Fields§
§default_permission: Option<PermissionSet>
Default permission.
permissions: BTreeMap<String, Permission>
Plugin permissions.
permission_sets: BTreeMap<String, PermissionSet>
Plugin permission sets.
global_scope_schema: Option<Value>
The global scope schema.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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 Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnwindSafe for Manifest
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