pub struct PluginManifest {
pub name: String,
pub backend: PluginBackendKind,
pub source: PathBuf,
pub description: Option<String>,
pub aliases: Vec<String>,
pub version: Option<String>,
pub homepage: Option<String>,
pub update_url: Option<String>,
pub manifest_url: Option<String>,
pub min_runtime_version: Option<String>,
pub notes: Vec<String>,
pub legacy_filenames: Vec<String>,
}Expand description
Registry metadata for a plugin.
Fields§
§name: StringStable plugin identifier.
backend: PluginBackendKindRuntime backend used to execute hooks.
source: PathBufLocal source directory of the plugin.
description: Option<String>Optional human readable description.
aliases: Vec<String>Alternative names accepted by the CLI.
version: Option<String>Plugin runtime version.
homepage: Option<String>Plugin homepage or repository.
update_url: Option<String>Plugin update URL.
manifest_url: Option<String>Plugin manifest URL.
min_runtime_version: Option<String>Minimum runtime version required by the plugin.
notes: Vec<String>Additional plugin notes.
legacy_filenames: Vec<String>Legacy file names handled by the plugin.
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
Source§impl PartialEq for PluginManifest
impl PartialEq for PluginManifest
Source§impl Serialize for PluginManifest
impl Serialize for PluginManifest
impl Eq for PluginManifest
impl StructuralPartialEq for PluginManifest
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