pub struct ModuleEventBody {
pub reason: ModuleEventReason,
pub module: Module,
/* private fields */
}
Fields§
§reason: ModuleEventReason
The reason for the event.
module: Module
The new, changed, or removed module. In case of ‘removed’ only the module id is used.
Implementations§
Trait Implementations§
Source§impl Clone for ModuleEventBody
impl Clone for ModuleEventBody
Source§fn clone(&self) -> ModuleEventBody
fn clone(&self) -> ModuleEventBody
Returns a copy of the value. Read more
1.0.0 · 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 ModuleEventBody
impl Debug for ModuleEventBody
Source§impl<'de> Deserialize<'de> for ModuleEventBody
impl<'de> Deserialize<'de> for ModuleEventBody
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
Source§impl From<ModuleEventBody> for Event
impl From<ModuleEventBody> for Event
Source§fn from(body: ModuleEventBody) -> Self
fn from(body: ModuleEventBody) -> Self
Converts to this type from the input type.
Source§impl From<ModuleEventBody> for ProtocolMessageContent
impl From<ModuleEventBody> for ProtocolMessageContent
Source§fn from(body: ModuleEventBody) -> Self
fn from(body: ModuleEventBody) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ModuleEventBody
impl PartialEq for ModuleEventBody
Source§impl Serialize for ModuleEventBody
impl Serialize for ModuleEventBody
impl Eq for ModuleEventBody
impl StructuralPartialEq for ModuleEventBody
Auto Trait Implementations§
impl Freeze for ModuleEventBody
impl RefUnwindSafe for ModuleEventBody
impl Send for ModuleEventBody
impl Sync for ModuleEventBody
impl Unpin for ModuleEventBody
impl UnwindSafe for ModuleEventBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.