pub struct ModuleEvent {
pub module: Module,
pub reason: ModuleEventReason,
}Expand description
The event indicates that some information about a module has changed.
Fields§
§module: ModuleThe new, changed, or removed module. In case of removed only the module id is used.
reason: ModuleEventReasonThe reason for the event.
Trait Implementations§
Source§impl Clone for ModuleEvent
impl Clone for ModuleEvent
Source§fn clone(&self) -> ModuleEvent
fn clone(&self) -> ModuleEvent
Returns a duplicate 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 ModuleEvent
impl Debug for ModuleEvent
Source§impl<'de> Deserialize<'de> for ModuleEvent
impl<'de> Deserialize<'de> for ModuleEvent
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 Hash for ModuleEvent
impl Hash for ModuleEvent
Source§impl PartialEq for ModuleEvent
impl PartialEq for ModuleEvent
Source§impl Serialize for ModuleEvent
impl Serialize for ModuleEvent
impl Eq for ModuleEvent
impl StructuralPartialEq for ModuleEvent
Auto Trait Implementations§
impl Freeze for ModuleEvent
impl RefUnwindSafe for ModuleEvent
impl Send for ModuleEvent
impl Sync for ModuleEvent
impl Unpin for ModuleEvent
impl UnwindSafe for ModuleEvent
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