pub struct ChannelEventContext {
pub connection_id: Option<ConnectionId>,
pub channel_id: ChannelId,
pub debug: Option<ChannelDebugContext>,
}Fields§
§connection_id: Option<ConnectionId>§channel_id: ChannelId§debug: Option<ChannelDebugContext>Implementations§
Trait Implementations§
Source§impl Clone for ChannelEventContext
impl Clone for ChannelEventContext
Source§fn clone(&self) -> ChannelEventContext
fn clone(&self) -> ChannelEventContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChannelEventContext
impl Debug for ChannelEventContext
Source§impl PartialEq for ChannelEventContext
impl PartialEq for ChannelEventContext
Source§fn eq(&self, other: &ChannelEventContext) -> bool
fn eq(&self, other: &ChannelEventContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelEventContext
impl Eq for ChannelEventContext
impl StructuralPartialEq for ChannelEventContext
Auto Trait Implementations§
impl Freeze for ChannelEventContext
impl RefUnwindSafe for ChannelEventContext
impl Send for ChannelEventContext
impl Sync for ChannelEventContext
impl Unpin for ChannelEventContext
impl UnsafeUnpin for ChannelEventContext
impl UnwindSafe for ChannelEventContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.