pub struct PluginInstallResult {
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 PluginInstallResult
impl Clone for PluginInstallResult
Source§fn clone(&self) -> PluginInstallResult
fn clone(&self) -> PluginInstallResult
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 PluginInstallResult
impl Debug for PluginInstallResult
Source§impl Default for PluginInstallResult
impl Default for PluginInstallResult
Source§fn default() -> PluginInstallResult
fn default() -> PluginInstallResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginInstallResult
impl<'de> Deserialize<'de> for PluginInstallResult
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 PluginInstallResult
impl RefUnwindSafe for PluginInstallResult
impl Send for PluginInstallResult
impl Sync for PluginInstallResult
impl Unpin for PluginInstallResult
impl UnsafeUnpin for PluginInstallResult
impl UnwindSafe for PluginInstallResult
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