pub struct WebSocketCreatedEvent {
pub request_id: RequestId,
pub url: String,
pub initiator: Option<Initiator>,
}Expand description
Fired upon WebSocket creation.
Payload of the Network.webSocketCreated event.
Fields§
§request_id: RequestIdRequest identifier.
url: StringWebSocket request URL.
initiator: Option<Initiator>Request initiator.
Trait Implementations§
Source§impl Clone for WebSocketCreatedEvent
impl Clone for WebSocketCreatedEvent
Source§impl Debug for WebSocketCreatedEvent
impl Debug for WebSocketCreatedEvent
Source§impl Default for WebSocketCreatedEvent
impl Default for WebSocketCreatedEvent
Source§impl<'de> Deserialize<'de> for WebSocketCreatedEvent
impl<'de> Deserialize<'de> for WebSocketCreatedEvent
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 Event for WebSocketCreatedEvent
impl Event for WebSocketCreatedEvent
Source§impl PartialEq for WebSocketCreatedEvent
impl PartialEq for WebSocketCreatedEvent
Source§impl Serialize for WebSocketCreatedEvent
impl Serialize for WebSocketCreatedEvent
impl StructuralPartialEq for WebSocketCreatedEvent
Auto Trait Implementations§
impl Forget for WebSocketCreatedEvent
impl Freeze for WebSocketCreatedEvent
impl RefUnwindSafe for WebSocketCreatedEvent
impl Send for WebSocketCreatedEvent
impl Sync for WebSocketCreatedEvent
impl Unpin for WebSocketCreatedEvent
impl UnsafeUnpin for WebSocketCreatedEvent
impl UnwindSafe for WebSocketCreatedEvent
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