pub struct Plugin {
pub direct_source_id: Option<String>,
pub enabled: bool,
pub installed: Option<bool>,
pub installed_from: Option<String>,
pub managed: Option<bool>,
pub managed_desired_enabled: Option<bool>,
pub marketplace: String,
pub name: String,
pub source: Option<String>,
pub version: Option<String>,
}Expand description
Session plugin metadata, with name, marketplace, optional version, and enabled state.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§direct_source_id: Option<String>Opaque stable identity for a direct plugin source.
enabled: boolWhether the plugin is currently enabled
installed: Option<bool>Whether this managed desired plugin has an installed or live record.
installed_from: Option<String>Absolute marketplace directory for a live plugin.
managed: Option<bool>Whether enterprise managed settings control this plugin.
managed_desired_enabled: Option<bool>Enabled state required by enterprise managed settings.
marketplace: StringMarketplace the plugin came from
name: StringPlugin name
source: Option<String>Runtime plugin provenance, such as “builtin”.
version: Option<String>Installed version
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Plugin
impl<'de> Deserialize<'de> for Plugin
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 Plugin
impl RefUnwindSafe for Plugin
impl Send for Plugin
impl Sync for Plugin
impl Unpin for Plugin
impl UnsafeUnpin for Plugin
impl UnwindSafe for Plugin
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