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: RequestIdRequest identifier.
timestamp: MonotonicTimeTimestamp.
Implementations
sourceimpl EventWebSocketClosed
impl EventWebSocketClosed
pub const IDENTIFIER: &'static str
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 more
sourceimpl 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() -> EventKind where
EventWebSocketClosed: 'static,
EventWebSocketClosed: Sized,
fn event_kind() -> EventKind where
EventWebSocketClosed: 'static,
EventWebSocketClosed: 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EventWebSocketClosed) -> bool
fn ne(&self, other: &EventWebSocketClosed) -> bool
This method tests for !=.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more