pub struct SessionPluginsInstallResult {
pub deprecation_warning: Option<String>,
pub plugin: InstalledPluginInfo,
pub post_install_message: Option<String>,
pub skills_installed: i64,
pub staging_mode: Option<PluginInstallStagingMode>,
}Expand description
Result of installing a plugin.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§deprecation_warning: Option<String>Set when the install path is deprecated (e.g. direct repo / URL / local installs). Callers should surface this to end users.
plugin: InstalledPluginInfoThe newly installed plugin’s metadata
post_install_message: Option<String>Optional post-install message provided by the plugin (e.g. setup instructions)
skills_installed: i64Number of skills discovered and installed from the plugin
staging_mode: Option<PluginInstallStagingMode>Where the completed plugin tree was staged before atomic promotion
Trait Implementations§
Source§impl Clone for SessionPluginsInstallResult
impl Clone for SessionPluginsInstallResult
Source§impl Debug for SessionPluginsInstallResult
impl Debug for SessionPluginsInstallResult
Source§impl<'de> Deserialize<'de> for SessionPluginsInstallResult
impl<'de> Deserialize<'de> for SessionPluginsInstallResult
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 SessionPluginsInstallResult
impl RefUnwindSafe for SessionPluginsInstallResult
impl Send for SessionPluginsInstallResult
impl Sync for SessionPluginsInstallResult
impl Unpin for SessionPluginsInstallResult
impl UnsafeUnpin for SessionPluginsInstallResult
impl UnwindSafe for SessionPluginsInstallResult
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