pub struct EventWebSocketCreated {
pub request_id: RequestId,
pub url: String,
pub initiator: Option<Initiator>,
}Expand description
Fired upon WebSocket creation. webSocketCreated
Fields§
§request_id: RequestIdRequest identifier.
url: StringWebSocket request URL.
initiator: Option<Initiator>Request initiator.
Implementations§
Source§impl EventWebSocketCreated
impl EventWebSocketCreated
pub const IDENTIFIER: &'static str = "Network.webSocketCreated"
Trait Implementations§
Source§impl Clone for EventWebSocketCreated
impl Clone for EventWebSocketCreated
Source§fn clone(&self) -> EventWebSocketCreated
fn clone(&self) -> EventWebSocketCreated
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 EventWebSocketCreated
impl Debug for EventWebSocketCreated
Source§impl<'de> Deserialize<'de> for EventWebSocketCreated
impl<'de> Deserialize<'de> for EventWebSocketCreated
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<EventWebSocketCreated> for CdpEvent
impl From<EventWebSocketCreated> for CdpEvent
Source§fn from(el: EventWebSocketCreated) -> CdpEvent
fn from(el: EventWebSocketCreated) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventWebSocketCreated
impl IntoEventKind for EventWebSocketCreated
Source§fn event_kind() -> EventKindwhere
Self: Sized + 'static,
fn event_kind() -> EventKindwhere
Self: Sized + 'static,
What kind of event this type is
Source§impl Method for EventWebSocketCreated
impl Method for EventWebSocketCreated
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for EventWebSocketCreated
impl MethodType for EventWebSocketCreated
Source§impl PartialEq for EventWebSocketCreated
impl PartialEq for EventWebSocketCreated
Source§impl Serialize for EventWebSocketCreated
impl Serialize for EventWebSocketCreated
Source§impl TryFrom<CdpEvent> for EventWebSocketCreated
impl TryFrom<CdpEvent> for EventWebSocketCreated
impl StructuralPartialEq for EventWebSocketCreated
Auto Trait Implementations§
impl Freeze for EventWebSocketCreated
impl RefUnwindSafe for EventWebSocketCreated
impl Send for EventWebSocketCreated
impl Sync for EventWebSocketCreated
impl Unpin for EventWebSocketCreated
impl UnwindSafe for EventWebSocketCreated
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