pub struct DirectUdpSocketOpenedParams {
pub identifier: RequestId,
pub local_addr: String,
pub local_port: i64,
pub timestamp: MonotonicTime,
pub remote_addr: Option<String>,
pub remote_port: Option<i64>,
}Expand description
Fired when direct_socket.UDPSocket connection is opened. directUDPSocketOpened
Fields§
§identifier: RequestId§local_addr: String§local_port: i64Expected to be unsigned integer.
timestamp: MonotonicTime§remote_addr: Option<String>§remote_port: Option<i64>Expected to be unsigned integer.
Trait Implementations§
Source§impl Clone for DirectUdpSocketOpenedParams
impl Clone for DirectUdpSocketOpenedParams
Source§fn clone(&self) -> DirectUdpSocketOpenedParams
fn clone(&self) -> DirectUdpSocketOpenedParams
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 Debug for DirectUdpSocketOpenedParams
impl Debug for DirectUdpSocketOpenedParams
Source§impl<'de> Deserialize<'de> for DirectUdpSocketOpenedParams
impl<'de> Deserialize<'de> for DirectUdpSocketOpenedParams
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
impl StructuralPartialEq for DirectUdpSocketOpenedParams
Auto Trait Implementations§
impl Freeze for DirectUdpSocketOpenedParams
impl RefUnwindSafe for DirectUdpSocketOpenedParams
impl Send for DirectUdpSocketOpenedParams
impl Sync for DirectUdpSocketOpenedParams
impl Unpin for DirectUdpSocketOpenedParams
impl UnsafeUnpin for DirectUdpSocketOpenedParams
impl UnwindSafe for DirectUdpSocketOpenedParams
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