pub struct WebSocketHandshakeResponseReceived {
pub method: WebSocketHandshakeResponseReceivedMethod,
pub params: WebSocketHandshakeResponseReceivedParams,
}Expand description
Fired when WebSocket handshake response becomes available. webSocketHandshakeResponseReceived
Fields§
§method: WebSocketHandshakeResponseReceivedMethod§params: WebSocketHandshakeResponseReceivedParamsImplementations§
Source§impl WebSocketHandshakeResponseReceived
impl WebSocketHandshakeResponseReceived
pub const IDENTIFIER: &'static str = "Network.webSocketHandshakeResponseReceived"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WebSocketHandshakeResponseReceived
impl Clone for WebSocketHandshakeResponseReceived
Source§fn clone(&self) -> WebSocketHandshakeResponseReceived
fn clone(&self) -> WebSocketHandshakeResponseReceived
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<'de> Deserialize<'de> for WebSocketHandshakeResponseReceived
impl<'de> Deserialize<'de> for WebSocketHandshakeResponseReceived
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<WebSocketHandshakeResponseReceived> for BrowserProtocolEvents
impl From<WebSocketHandshakeResponseReceived> for BrowserProtocolEvents
Source§fn from(v: WebSocketHandshakeResponseReceived) -> Self
fn from(v: WebSocketHandshakeResponseReceived) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketHandshakeResponseReceived> for Event
impl From<WebSocketHandshakeResponseReceived> for Event
Source§fn from(v: WebSocketHandshakeResponseReceived) -> Self
fn from(v: WebSocketHandshakeResponseReceived) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketHandshakeResponseReceived> for NetworkEvents
impl From<WebSocketHandshakeResponseReceived> for NetworkEvents
Source§fn from(v: WebSocketHandshakeResponseReceived) -> Self
fn from(v: WebSocketHandshakeResponseReceived) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebSocketHandshakeResponseReceived
impl PartialEq for WebSocketHandshakeResponseReceived
Source§fn eq(&self, other: &WebSocketHandshakeResponseReceived) -> bool
fn eq(&self, other: &WebSocketHandshakeResponseReceived) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolEvents> for WebSocketHandshakeResponseReceived
impl TryFrom<BrowserProtocolEvents> for WebSocketHandshakeResponseReceived
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, <WebSocketHandshakeResponseReceived as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WebSocketHandshakeResponseReceived as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebSocketHandshakeResponseReceived
impl TryFrom<NetworkEvents> for WebSocketHandshakeResponseReceived
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, <WebSocketHandshakeResponseReceived as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketHandshakeResponseReceived as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for WebSocketHandshakeResponseReceived
Auto Trait Implementations§
impl Freeze for WebSocketHandshakeResponseReceived
impl RefUnwindSafe for WebSocketHandshakeResponseReceived
impl Send for WebSocketHandshakeResponseReceived
impl Sync for WebSocketHandshakeResponseReceived
impl Unpin for WebSocketHandshakeResponseReceived
impl UnsafeUnpin for WebSocketHandshakeResponseReceived
impl UnwindSafe for WebSocketHandshakeResponseReceived
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