pub struct InstalledPlugin {
pub name: PluginName,
pub version: String,
pub description: String,
pub path: PathBuf,
pub skill_names: Vec<String>,
pub auto_update: bool,
}Expand description
Installed plugin metadata as returned by plugin list.
Fields§
§name: PluginNamePlugin name.
version: StringPlugin version.
description: StringPlugin description.
path: PathBufAbsolute path to the installed plugin root.
skill_names: Vec<String>Skill names provided by this plugin (collected at list time to avoid re-reading manifests).
auto_update: boolWhether automatic updates are enabled for this plugin.
Mirrors plugin.auto_update from the installed manifest. Populated at list time so
PluginManager::check_auto_updates can filter candidates without re-reading manifests.
Trait Implementations§
Source§impl Clone for InstalledPlugin
impl Clone for InstalledPlugin
Source§fn clone(&self) -> InstalledPlugin
fn clone(&self) -> InstalledPlugin
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 InstalledPlugin
impl Debug for InstalledPlugin
Source§impl<'de> Deserialize<'de> for InstalledPlugin
impl<'de> Deserialize<'de> for InstalledPlugin
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 InstalledPlugin
impl RefUnwindSafe for InstalledPlugin
impl Send for InstalledPlugin
impl Sync for InstalledPlugin
impl Unpin for InstalledPlugin
impl UnsafeUnpin for InstalledPlugin
impl UnwindSafe for InstalledPlugin
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