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