pub struct InstalledPlugin {
pub cache_path: Option<String>,
pub enabled: bool,
pub installed_at: String,
pub marketplace: String,
pub name: String,
pub source: Option<Value>,
pub version: Option<String>,
}Expand description
Schema for the InstalledPlugin type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§cache_path: Option<String>Path where the plugin is cached locally
enabled: boolWhether the plugin is currently enabled
installed_at: StringInstallation timestamp
marketplace: StringMarketplace the plugin came from (empty string for direct repo installs)
name: StringPlugin name
source: Option<Value>Source for direct repo installs (when marketplace is empty)
version: Option<String>Version installed (if available)
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 Default for InstalledPlugin
impl Default for InstalledPlugin
Source§fn default() -> InstalledPlugin
fn default() -> InstalledPlugin
Returns the “default value” for a type. Read more
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