pub struct WebSocketFrameReceived {
pub method: WebSocketFrameReceivedMethod,
pub params: WebSocketFrameReceivedParams,
}Expand description
Fired when WebSocket message is received. webSocketFrameReceived
Fields§
§method: WebSocketFrameReceivedMethod§params: WebSocketFrameReceivedParamsImplementations§
Source§impl WebSocketFrameReceived
impl WebSocketFrameReceived
pub const IDENTIFIER: &'static str = "Network.webSocketFrameReceived"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WebSocketFrameReceived
impl Clone for WebSocketFrameReceived
Source§fn clone(&self) -> WebSocketFrameReceived
fn clone(&self) -> WebSocketFrameReceived
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 WebSocketFrameReceived
impl Debug for WebSocketFrameReceived
Source§impl<'de> Deserialize<'de> for WebSocketFrameReceived
impl<'de> Deserialize<'de> for WebSocketFrameReceived
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 From<WebSocketFrameReceived> for BrowserProtocolEvents
impl From<WebSocketFrameReceived> for BrowserProtocolEvents
Source§fn from(v: WebSocketFrameReceived) -> Self
fn from(v: WebSocketFrameReceived) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketFrameReceived> for Event
impl From<WebSocketFrameReceived> for Event
Source§fn from(v: WebSocketFrameReceived) -> Self
fn from(v: WebSocketFrameReceived) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketFrameReceived> for NetworkEvents
impl From<WebSocketFrameReceived> for NetworkEvents
Source§fn from(v: WebSocketFrameReceived) -> Self
fn from(v: WebSocketFrameReceived) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebSocketFrameReceived
impl PartialEq for WebSocketFrameReceived
Source§impl Serialize for WebSocketFrameReceived
impl Serialize for WebSocketFrameReceived
Source§impl TryFrom<BrowserProtocolEvents> for WebSocketFrameReceived
impl TryFrom<BrowserProtocolEvents> for WebSocketFrameReceived
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <WebSocketFrameReceived as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WebSocketFrameReceived as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for WebSocketFrameReceived
impl TryFrom<Event> for WebSocketFrameReceived
Source§impl TryFrom<NetworkEvents> for WebSocketFrameReceived
impl TryFrom<NetworkEvents> for WebSocketFrameReceived
Source§type Error = NetworkEvents
type Error = NetworkEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkEvents,
) -> Result<Self, <WebSocketFrameReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketFrameReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for WebSocketFrameReceived
Auto Trait Implementations§
impl Freeze for WebSocketFrameReceived
impl RefUnwindSafe for WebSocketFrameReceived
impl Send for WebSocketFrameReceived
impl Sync for WebSocketFrameReceived
impl Unpin for WebSocketFrameReceived
impl UnsafeUnpin for WebSocketFrameReceived
impl UnwindSafe for WebSocketFrameReceived
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