pub struct SessionInstalledPlugin {
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 SessionInstalledPlugin 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 (ISO-8601)
marketplace: StringMarketplace the plugin came from (empty string for direct repo installs)
name: StringPlugin name
source: Option<Value>Source descriptor for direct repo installs (when marketplace is empty)
version: Option<String>Installed version, if known
Trait Implementations§
Source§impl Clone for SessionInstalledPlugin
impl Clone for SessionInstalledPlugin
Source§fn clone(&self) -> SessionInstalledPlugin
fn clone(&self) -> SessionInstalledPlugin
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 SessionInstalledPlugin
impl Debug for SessionInstalledPlugin
Source§impl Default for SessionInstalledPlugin
impl Default for SessionInstalledPlugin
Source§fn default() -> SessionInstalledPlugin
fn default() -> SessionInstalledPlugin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionInstalledPlugin
impl<'de> Deserialize<'de> for SessionInstalledPlugin
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 SessionInstalledPlugin
impl RefUnwindSafe for SessionInstalledPlugin
impl Send for SessionInstalledPlugin
impl Sync for SessionInstalledPlugin
impl Unpin for SessionInstalledPlugin
impl UnsafeUnpin for SessionInstalledPlugin
impl UnwindSafe for SessionInstalledPlugin
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