pub struct PluginsInstallResult {
pub deprecation_warning: Option<String>,
pub plugin: InstalledPluginInfo,
pub post_install_message: Option<String>,
pub skills_installed: i64,
}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
Trait Implementations§
Source§impl Clone for PluginsInstallResult
impl Clone for PluginsInstallResult
Source§fn clone(&self) -> PluginsInstallResult
fn clone(&self) -> PluginsInstallResult
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 PluginsInstallResult
impl Debug for PluginsInstallResult
Source§impl Default for PluginsInstallResult
impl Default for PluginsInstallResult
Source§fn default() -> PluginsInstallResult
fn default() -> PluginsInstallResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginsInstallResult
impl<'de> Deserialize<'de> for PluginsInstallResult
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 PluginsInstallResult
impl RefUnwindSafe for PluginsInstallResult
impl Send for PluginsInstallResult
impl Sync for PluginsInstallResult
impl Unpin for PluginsInstallResult
impl UnsafeUnpin for PluginsInstallResult
impl UnwindSafe for PluginsInstallResult
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