pub struct ModuleEventBody {
pub reason: ModuleEventReason,
pub module: Module,
}Expand description
Arguments for a Module event.
Fields§
§reason: ModuleEventReasonThe reason for the event. Values: ‘new’, ‘changed’, ‘removed’
module: ModuleThe new, changed, or removed module. In case of removed only the module
id is used.
Trait Implementations§
Source§impl Clone for ModuleEventBody
impl Clone for ModuleEventBody
Source§fn clone(&self) -> ModuleEventBody
fn clone(&self) -> ModuleEventBody
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 ModuleEventBody
impl Debug 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 UnsafeUnpin 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