pub struct WebSocketClosedEvent {
pub request_id: RequestId,
pub timestamp: MonotonicTime,
}Expand description
Fired when WebSocket is closed.
Payload of the Network.webSocketClosed event.
Fields§
§request_id: RequestIdRequest identifier.
timestamp: MonotonicTimeTimestamp.
Trait Implementations§
Source§impl Clone for WebSocketClosedEvent
impl Clone for WebSocketClosedEvent
Source§impl Debug for WebSocketClosedEvent
impl Debug for WebSocketClosedEvent
Source§impl Default for WebSocketClosedEvent
impl Default for WebSocketClosedEvent
Source§impl<'de> Deserialize<'de> for WebSocketClosedEvent
impl<'de> Deserialize<'de> for WebSocketClosedEvent
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 WebSocketClosedEvent
impl Event for WebSocketClosedEvent
Source§impl PartialEq for WebSocketClosedEvent
impl PartialEq for WebSocketClosedEvent
Source§impl Serialize for WebSocketClosedEvent
impl Serialize for WebSocketClosedEvent
impl StructuralPartialEq for WebSocketClosedEvent
Auto Trait Implementations§
impl Forget for WebSocketClosedEvent
impl Freeze for WebSocketClosedEvent
impl RefUnwindSafe for WebSocketClosedEvent
impl Send for WebSocketClosedEvent
impl Sync for WebSocketClosedEvent
impl Unpin for WebSocketClosedEvent
impl UnsafeUnpin for WebSocketClosedEvent
impl UnwindSafe for WebSocketClosedEvent
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