pub struct EventData {
pub target_id: Option<String>,
pub meta: String,
pub message: Option<Receiver<String>>,
pub data: Option<Receiver<u64>>,
}
Fields§
§target_id: Option<String>
Plugin intended to receive the event. Use None
to trigger processing by plugin manager.
meta: String
A short string describing type of event.
message: Option<Receiver<String>>
Optional String
receiver.
data: Option<Receiver<u64>>
Optional u64
receiver.
Implementations§
Auto Trait Implementations§
impl Freeze for EventData
impl RefUnwindSafe for EventData
impl Send for EventData
impl !Sync for EventData
impl Unpin for EventData
impl UnwindSafe for EventData
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