#[non_exhaustive]pub struct PluginChangedParams {
pub session_id: String,
pub id: String,
pub version: String,
pub enabled: bool,
pub source: PluginSource,
}Expand description
plugin/changed params: an install landed; clients re-issue plugin/list
(plus hook/list and skill/list).
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.session_id: StringThe acting session.
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.
Trait Implementations§
Source§impl Clone for PluginChangedParams
impl Clone for PluginChangedParams
Source§impl Debug for PluginChangedParams
impl Debug for PluginChangedParams
Source§impl<'de> Deserialize<'de> for PluginChangedParams
impl<'de> Deserialize<'de> for PluginChangedParams
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 PluginChangedParams
Source§impl PartialEq for PluginChangedParams
impl PartialEq for PluginChangedParams
Source§impl Serialize for PluginChangedParams
impl Serialize for PluginChangedParams
impl StructuralPartialEq for PluginChangedParams
Auto Trait Implementations§
impl Forget for PluginChangedParams
impl Freeze for PluginChangedParams
impl Move for PluginChangedParams
impl RefUnwindSafe for PluginChangedParams
impl Send for PluginChangedParams
impl Sync for PluginChangedParams
impl Unpin for PluginChangedParams
impl UnsafeUnpin for PluginChangedParams
impl UnwindSafe for PluginChangedParams
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