pub struct WebSocketFrameReceivedParams {
pub request_id: RequestId,
pub timestamp: MonotonicTime,
pub response: WebSocketFrame,
}Expand description
Fired when WebSocket message is received. webSocketFrameReceived
Fields§
§request_id: RequestIdRequest identifier.
timestamp: MonotonicTimeTimestamp.
response: WebSocketFrameWebSocket response data.
Trait Implementations§
Source§impl Clone for WebSocketFrameReceivedParams
impl Clone for WebSocketFrameReceivedParams
Source§fn clone(&self) -> WebSocketFrameReceivedParams
fn clone(&self) -> WebSocketFrameReceivedParams
Returns a duplicate of the value. Read more
1.0.0 · 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 WebSocketFrameReceivedParams
impl Debug for WebSocketFrameReceivedParams
Source§impl<'de> Deserialize<'de> for WebSocketFrameReceivedParams
impl<'de> Deserialize<'de> for WebSocketFrameReceivedParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WebSocketFrameReceivedParams
impl PartialEq for WebSocketFrameReceivedParams
Source§fn eq(&self, other: &WebSocketFrameReceivedParams) -> bool
fn eq(&self, other: &WebSocketFrameReceivedParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebSocketFrameReceivedParams
Auto Trait Implementations§
impl Freeze for WebSocketFrameReceivedParams
impl RefUnwindSafe for WebSocketFrameReceivedParams
impl Send for WebSocketFrameReceivedParams
impl Sync for WebSocketFrameReceivedParams
impl Unpin for WebSocketFrameReceivedParams
impl UnsafeUnpin for WebSocketFrameReceivedParams
impl UnwindSafe for WebSocketFrameReceivedParams
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