pub struct DirectTCPSocketOpenedEventParams {
pub identifier: RequestId,
pub remote_addr: String,
pub remote_port: JsUInt,
pub timestamp: MonotonicTime,
pub local_addr: Option<String>,
pub local_port: Option<JsUInt>,
}Fields§
§identifier: RequestId§remote_addr: String§remote_port: JsUInt§timestamp: MonotonicTime§local_addr: Option<String>§local_port: Option<JsUInt>Trait Implementations§
Source§impl Clone for DirectTCPSocketOpenedEventParams
impl Clone for DirectTCPSocketOpenedEventParams
Source§fn clone(&self) -> DirectTCPSocketOpenedEventParams
fn clone(&self) -> DirectTCPSocketOpenedEventParams
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<'de> Deserialize<'de> for DirectTCPSocketOpenedEventParams
impl<'de> Deserialize<'de> for DirectTCPSocketOpenedEventParams
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 PartialEq for DirectTCPSocketOpenedEventParams
impl PartialEq for DirectTCPSocketOpenedEventParams
Source§fn eq(&self, other: &DirectTCPSocketOpenedEventParams) -> bool
fn eq(&self, other: &DirectTCPSocketOpenedEventParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectTCPSocketOpenedEventParams
Auto Trait Implementations§
impl Freeze for DirectTCPSocketOpenedEventParams
impl RefUnwindSafe for DirectTCPSocketOpenedEventParams
impl Send for DirectTCPSocketOpenedEventParams
impl Sync for DirectTCPSocketOpenedEventParams
impl Unpin for DirectTCPSocketOpenedEventParams
impl UnwindSafe for DirectTCPSocketOpenedEventParams
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