pub struct ProcessExtensionManifest {
pub id: String,
pub name: String,
pub version: String,
pub api_version: String,
pub description: Option<String>,
pub provides: Vec<ProcessProvidedService>,
pub required_capabilities: Vec<String>,
pub launch: Option<PackageExtensionLaunch>,
}Expand description
The manifest TOML shipped next to a process extension.
Fields§
§id: String§name: String§version: String§api_version: StringSemver requirement against crate::extension::SUPPORTED_EXTENSION_API_VERSION.
description: Option<String>§provides: Vec<ProcessProvidedService>§required_capabilities: Vec<String>§launch: Option<PackageExtensionLaunch>How to launch the child process. Required for extensions shipped in
Roder packages (the package layer builds a ProcessExtensionConfig
from it); optional for [[process_extensions]] config entries, which
declare the launch command in config.
Trait Implementations§
Source§impl Clone for ProcessExtensionManifest
impl Clone for ProcessExtensionManifest
Source§fn clone(&self) -> ProcessExtensionManifest
fn clone(&self) -> ProcessExtensionManifest
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 ProcessExtensionManifest
impl Debug for ProcessExtensionManifest
Source§impl<'de> Deserialize<'de> for ProcessExtensionManifest
impl<'de> Deserialize<'de> for ProcessExtensionManifest
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
Source§impl PartialEq for ProcessExtensionManifest
impl PartialEq for ProcessExtensionManifest
Source§fn eq(&self, other: &ProcessExtensionManifest) -> bool
fn eq(&self, other: &ProcessExtensionManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessExtensionManifest
impl Serialize for ProcessExtensionManifest
impl StructuralPartialEq for ProcessExtensionManifest
Auto Trait Implementations§
impl Freeze for ProcessExtensionManifest
impl RefUnwindSafe for ProcessExtensionManifest
impl Send for ProcessExtensionManifest
impl Sync for ProcessExtensionManifest
impl Unpin for ProcessExtensionManifest
impl UnsafeUnpin for ProcessExtensionManifest
impl UnwindSafe for ProcessExtensionManifest
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