pub struct PluginManifest {Show 14 fields
pub name: String,
pub plugin_id: Option<String>,
pub plugin_version: Option<String>,
pub protocol_version: String,
pub stage: PluginStage,
pub entrypoint: Vec<String>,
pub language: Option<String>,
pub capabilities: Option<Vec<String>>,
pub timeout_ms: Option<u64>,
pub input_schema: Option<Value>,
pub options_schema: Option<Value>,
pub output_schema: Option<Value>,
pub manifest_dir: Option<PathBuf>,
pub manifest_path: Option<PathBuf>,
}Expand description
JSON manifest describing a plugin’s entrypoint, capabilities, and schemas.
Fields§
§name: String§plugin_id: Option<String>§plugin_version: Option<String>§protocol_version: String§stage: PluginStage§entrypoint: Vec<String>§language: Option<String>§capabilities: Option<Vec<String>>§timeout_ms: Option<u64>§input_schema: Option<Value>§options_schema: Option<Value>§output_schema: Option<Value>§manifest_dir: Option<PathBuf>§manifest_path: Option<PathBuf>Implementations§
Trait Implementations§
Source§impl Clone for PluginManifest
impl Clone for PluginManifest
Source§fn clone(&self) -> PluginManifest
fn clone(&self) -> PluginManifest
Returns a duplicate of the value. Read more
1.0.0 · 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 PluginManifest
impl Debug for PluginManifest
Source§impl<'de> Deserialize<'de> for PluginManifest
impl<'de> Deserialize<'de> for PluginManifest
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 PluginManifest
impl RefUnwindSafe for PluginManifest
impl Send for PluginManifest
impl Sync for PluginManifest
impl Unpin for PluginManifest
impl UnsafeUnpin for PluginManifest
impl UnwindSafe for PluginManifest
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