pub struct WebSocketCreated {
pub method: WebSocketCreatedMethod,
pub params: WebSocketCreatedParams,
}Expand description
Fired upon WebSocket creation. webSocketCreated
Fields§
§method: WebSocketCreatedMethod§params: WebSocketCreatedParamsImplementations§
Source§impl WebSocketCreated
impl WebSocketCreated
pub const IDENTIFIER: &'static str = "Network.webSocketCreated"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WebSocketCreated
impl Clone for WebSocketCreated
Source§fn clone(&self) -> WebSocketCreated
fn clone(&self) -> WebSocketCreated
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 WebSocketCreated
impl Debug for WebSocketCreated
Source§impl<'de> Deserialize<'de> for WebSocketCreated
impl<'de> Deserialize<'de> for WebSocketCreated
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<WebSocketCreated> for BrowserProtocolEvents
impl From<WebSocketCreated> for BrowserProtocolEvents
Source§fn from(v: WebSocketCreated) -> Self
fn from(v: WebSocketCreated) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketCreated> for Event
impl From<WebSocketCreated> for Event
Source§fn from(v: WebSocketCreated) -> Self
fn from(v: WebSocketCreated) -> Self
Converts to this type from the input type.
Source§impl From<WebSocketCreated> for NetworkEvents
impl From<WebSocketCreated> for NetworkEvents
Source§fn from(v: WebSocketCreated) -> Self
fn from(v: WebSocketCreated) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebSocketCreated
impl PartialEq for WebSocketCreated
Source§impl Serialize for WebSocketCreated
impl Serialize for WebSocketCreated
Source§impl TryFrom<BrowserProtocolEvents> for WebSocketCreated
impl TryFrom<BrowserProtocolEvents> for WebSocketCreated
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, <WebSocketCreated as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WebSocketCreated as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for WebSocketCreated
impl TryFrom<Event> for WebSocketCreated
Source§impl TryFrom<NetworkEvents> for WebSocketCreated
impl TryFrom<NetworkEvents> for WebSocketCreated
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, <WebSocketCreated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebSocketCreated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for WebSocketCreated
Auto Trait Implementations§
impl Freeze for WebSocketCreated
impl RefUnwindSafe for WebSocketCreated
impl Send for WebSocketCreated
impl Sync for WebSocketCreated
impl Unpin for WebSocketCreated
impl UnsafeUnpin for WebSocketCreated
impl UnwindSafe for WebSocketCreated
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