pub struct DirectUdpSocketCreatedParams {
pub identifier: RequestId,
pub options: DirectUdpSocketOptions,
pub timestamp: MonotonicTime,
pub initiator: Option<Initiator>,
}Expand description
Fired upon direct_socket.UDPSocket creation. directUDPSocketCreated
Fields§
§identifier: RequestId§options: DirectUdpSocketOptions§timestamp: MonotonicTime§initiator: Option<Initiator>Trait Implementations§
Source§impl Clone for DirectUdpSocketCreatedParams
impl Clone for DirectUdpSocketCreatedParams
Source§fn clone(&self) -> DirectUdpSocketCreatedParams
fn clone(&self) -> DirectUdpSocketCreatedParams
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 DirectUdpSocketCreatedParams
impl Debug for DirectUdpSocketCreatedParams
Source§impl<'de> Deserialize<'de> for DirectUdpSocketCreatedParams
impl<'de> Deserialize<'de> for DirectUdpSocketCreatedParams
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 DirectUdpSocketCreatedParams
impl PartialEq for DirectUdpSocketCreatedParams
Source§fn eq(&self, other: &DirectUdpSocketCreatedParams) -> bool
fn eq(&self, other: &DirectUdpSocketCreatedParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectUdpSocketCreatedParams
Auto Trait Implementations§
impl Freeze for DirectUdpSocketCreatedParams
impl RefUnwindSafe for DirectUdpSocketCreatedParams
impl Send for DirectUdpSocketCreatedParams
impl Sync for DirectUdpSocketCreatedParams
impl Unpin for DirectUdpSocketCreatedParams
impl UnsafeUnpin for DirectUdpSocketCreatedParams
impl UnwindSafe for DirectUdpSocketCreatedParams
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