pub struct Event {
pub name: String,
pub data: String,
pub channels: Vec<String>,
pub socket_id: Option<String>,
pub info: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub idempotency_key: Option<String>,
pub extras: Option<MessageExtras>,
}Expand description
Event data for triggering
Fields§
§name: String§data: String§channels: Vec<String>§socket_id: Option<String>§info: Option<String>§idempotency_key: Option<String>§extras: Option<MessageExtras>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Event
impl !UnwindSafe for Event
impl Freeze for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
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