pub struct EventContext<T: Clone + Send + Sync> {
pub meta: Metadata,
pub application_id: Id<ApplicationMarker>,
pub services: Arc<T>,
pub client: Arc<Client>,
pub event: Event,
}
Fields§
§meta: Metadata
§application_id: Id<ApplicationMarker>
§services: Arc<T>
§client: Arc<Client>
§event: Event
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for EventContext<T>
impl<T> !RefUnwindSafe for EventContext<T>
impl<T> Send for EventContext<T>
impl<T> Sync for EventContext<T>
impl<T> Unpin for EventContext<T>
impl<T> !UnwindSafe for EventContext<T>
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