pub struct PluginPermissionPreview {
pub name: String,
pub declared_permissions: Vec<String>,
pub permissions_toml: Option<Value>,
pub hooks: Vec<String>,
pub mcp: Vec<String>,
pub bin: Vec<String>,
}Fields§
§name: String§declared_permissions: Vec<String>§permissions_toml: Option<Value>§hooks: Vec<String>§mcp: Vec<String>§bin: Vec<String>Trait Implementations§
Source§impl Clone for PluginPermissionPreview
impl Clone for PluginPermissionPreview
Source§fn clone(&self) -> PluginPermissionPreview
fn clone(&self) -> PluginPermissionPreview
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginPermissionPreview
impl Debug for PluginPermissionPreview
Source§impl<'de> Deserialize<'de> for PluginPermissionPreview
impl<'de> Deserialize<'de> for PluginPermissionPreview
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 PluginPermissionPreview
impl RefUnwindSafe for PluginPermissionPreview
impl Send for PluginPermissionPreview
impl Sync for PluginPermissionPreview
impl Unpin for PluginPermissionPreview
impl UnsafeUnpin for PluginPermissionPreview
impl UnwindSafe for PluginPermissionPreview
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