pub struct WebSocketExecutionContext {
pub gateway_path: String,
pub event: String,
}Expand description
WebSocket-specific execution details.
Fields§
§gateway_path: String§event: StringTrait Implementations§
Source§impl Clone for WebSocketExecutionContext
impl Clone for WebSocketExecutionContext
Source§fn clone(&self) -> WebSocketExecutionContext
fn clone(&self) -> WebSocketExecutionContext
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 WebSocketExecutionContext
impl Debug for WebSocketExecutionContext
impl Eq for WebSocketExecutionContext
Source§impl PartialEq for WebSocketExecutionContext
impl PartialEq for WebSocketExecutionContext
Source§fn eq(&self, other: &WebSocketExecutionContext) -> bool
fn eq(&self, other: &WebSocketExecutionContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebSocketExecutionContext
Auto Trait Implementations§
impl Freeze for WebSocketExecutionContext
impl RefUnwindSafe for WebSocketExecutionContext
impl Send for WebSocketExecutionContext
impl Sync for WebSocketExecutionContext
impl Unpin for WebSocketExecutionContext
impl UnsafeUnpin for WebSocketExecutionContext
impl UnwindSafe for WebSocketExecutionContext
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