Struct chromiumoxide::cdp::browser_protocol::network::EventWebSocketClosed
source · [−]pub struct EventWebSocketClosed {
pub request_id: RequestId,
pub timestamp: MonotonicTime,
}
Expand description
Fired when WebSocket is closed. webSocketClosed
Fields
request_id: RequestId
Request identifier.
timestamp: MonotonicTime
Timestamp.
Implementations
sourceimpl EventWebSocketClosed
impl EventWebSocketClosed
pub const IDENTIFIER: &'static str = "Network.webSocketClosed"
Trait Implementations
sourceimpl Clone for EventWebSocketClosed
impl Clone for EventWebSocketClosed
sourcefn clone(&self) -> EventWebSocketClosed
fn clone(&self) -> EventWebSocketClosed
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EventWebSocketClosed
impl Debug for EventWebSocketClosed
sourceimpl<'de> Deserialize<'de> for EventWebSocketClosed
impl<'de> Deserialize<'de> for EventWebSocketClosed
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<EventWebSocketClosed, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EventWebSocketClosed, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<EventWebSocketClosed> for CdpEvent
impl From<EventWebSocketClosed> for CdpEvent
sourcefn from(el: EventWebSocketClosed) -> CdpEvent
fn from(el: EventWebSocketClosed) -> CdpEvent
Converts to this type from the input type.
sourceimpl IntoEventKind for EventWebSocketClosed
impl IntoEventKind for EventWebSocketClosed
sourcefn event_kind() -> EventKindwhere
EventWebSocketClosed: 'static + Sized,
fn event_kind() -> EventKindwhere
EventWebSocketClosed: 'static + Sized,
What kind of event this type is
sourceimpl Method for EventWebSocketClosed
impl Method for EventWebSocketClosed
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
sourceimpl MethodType for EventWebSocketClosed
impl MethodType for EventWebSocketClosed
sourceimpl PartialEq<EventWebSocketClosed> for EventWebSocketClosed
impl PartialEq<EventWebSocketClosed> for EventWebSocketClosed
sourcefn eq(&self, other: &EventWebSocketClosed) -> bool
fn eq(&self, other: &EventWebSocketClosed) -> bool
sourceimpl Serialize for EventWebSocketClosed
impl Serialize for EventWebSocketClosed
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TryFrom<CdpEvent> for EventWebSocketClosed
impl TryFrom<CdpEvent> for EventWebSocketClosed
impl StructuralPartialEq for EventWebSocketClosed
Auto Trait Implementations
impl RefUnwindSafe for EventWebSocketClosed
impl Send for EventWebSocketClosed
impl Sync for EventWebSocketClosed
impl Unpin for EventWebSocketClosed
impl UnwindSafe for EventWebSocketClosed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more