pub struct PluginActionManifest {
pub schema: u32,
pub id: Uuid,
pub name: String,
pub version: String,
pub executable: PathBuf,
pub description: String,
pub capabilities: Vec<String>,
pub contributions: PluginContributions,
}Expand description
A schema-2 plugin manifest that opts into Guth’s external GUI-action protocol.
Schema-1 PluginManifest documents remain unchanged. Keeping this as a
separate wire type means older plugin authors do not need to add a field to
existing Rust struct literals, while discovery can normalize both schemas to
PluginManifest for metadata and enabled-state APIs.
Fields§
§schema: u32§id: Uuid§name: String§version: String§executable: PathBuf§description: String§capabilities: Vec<String>§contributions: PluginContributionsImplementations§
Trait Implementations§
Source§impl Clone for PluginActionManifest
impl Clone for PluginActionManifest
Source§fn clone(&self) -> PluginActionManifest
fn clone(&self) -> PluginActionManifest
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 PluginActionManifest
impl Debug for PluginActionManifest
Source§impl<'de> Deserialize<'de> for PluginActionManifest
impl<'de> Deserialize<'de> for PluginActionManifest
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
impl Eq for PluginActionManifest
Source§impl PartialEq for PluginActionManifest
impl PartialEq for PluginActionManifest
Source§impl Serialize for PluginActionManifest
impl Serialize for PluginActionManifest
impl StructuralPartialEq for PluginActionManifest
Auto Trait Implementations§
impl Freeze for PluginActionManifest
impl RefUnwindSafe for PluginActionManifest
impl Send for PluginActionManifest
impl Sync for PluginActionManifest
impl Unpin for PluginActionManifest
impl UnsafeUnpin for PluginActionManifest
impl UnwindSafe for PluginActionManifest
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