#[non_exhaustive]pub struct PluginInstallResult {
pub command_id: String,
pub status: CommandStatus,
pub id: String,
pub version: String,
pub enabled: bool,
pub source: PluginSource,
pub warning: Option<String>,
}Expand description
plugin/install result: the ack envelope plus the installed receipt.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringThe echoed idempotency key.
status: CommandStatusThe ack status.
id: StringThe installed record’s identifier.
version: StringThe installed record’s version.
enabled: boolThe installed record’s own switch.
source: PluginSourceThe installed-list provenance vocabulary.
warning: Option<String>The installer’s advisory text when the install succeeded with a caveat; absent otherwise.
Trait Implementations§
Source§impl Clone for PluginInstallResult
impl Clone for PluginInstallResult
Source§impl Debug for PluginInstallResult
impl Debug for PluginInstallResult
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
impl Eq for PluginInstallResult
Source§impl PartialEq for PluginInstallResult
impl PartialEq for PluginInstallResult
Source§impl Serialize for PluginInstallResult
impl Serialize for PluginInstallResult
impl StructuralPartialEq for PluginInstallResult
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