pub struct DirectUdpSocketOptions {
pub remote_addr: Option<String>,
pub remote_port: Option<i64>,
pub local_addr: Option<String>,
pub local_port: Option<i64>,
pub dns_query_type: Option<DirectSocketDnsQueryType>,
pub send_buffer_size: Option<f64>,
pub receive_buffer_size: Option<f64>,
}
Fields§
§remote_addr: Option<String>
§remote_port: Option<i64>
Unsigned int 16.
local_addr: Option<String>
§local_port: Option<i64>
Unsigned int 16.
dns_query_type: Option<DirectSocketDnsQueryType>
§send_buffer_size: Option<f64>
Expected to be unsigned integer.
receive_buffer_size: Option<f64>
Expected to be unsigned integer.
Implementations§
Source§impl DirectUdpSocketOptions
impl DirectUdpSocketOptions
pub fn builder() -> DirectUdpSocketOptionsBuilder
Source§impl DirectUdpSocketOptions
impl DirectUdpSocketOptions
pub const IDENTIFIER: &'static str = "Network.DirectUDPSocketOptions"
Trait Implementations§
Source§impl Clone for DirectUdpSocketOptions
impl Clone for DirectUdpSocketOptions
Source§fn clone(&self) -> DirectUdpSocketOptions
fn clone(&self) -> DirectUdpSocketOptions
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 DirectUdpSocketOptions
impl Debug for DirectUdpSocketOptions
Source§impl Default for DirectUdpSocketOptions
impl Default for DirectUdpSocketOptions
Source§fn default() -> DirectUdpSocketOptions
fn default() -> DirectUdpSocketOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectUdpSocketOptions
impl<'de> Deserialize<'de> for DirectUdpSocketOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DirectUdpSocketOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DirectUdpSocketOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DirectUdpSocketOptions
impl PartialEq for DirectUdpSocketOptions
Source§impl Serialize for DirectUdpSocketOptions
impl Serialize for DirectUdpSocketOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DirectUdpSocketOptions
Auto Trait Implementations§
impl Freeze for DirectUdpSocketOptions
impl RefUnwindSafe for DirectUdpSocketOptions
impl Send for DirectUdpSocketOptions
impl Sync for DirectUdpSocketOptions
impl Unpin for DirectUdpSocketOptions
impl UnwindSafe for DirectUdpSocketOptions
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