pub struct OutboundNetwork {
pub mode: NetworkOutboundMode,
pub allow_hosts: Vec<String>,
pub protocols: Vec<String>,
pub resolve_dns: ResolveDnsConfig,
}Fields§
§mode: NetworkOutboundMode§allow_hosts: Vec<String>§protocols: Vec<String>§resolve_dns: ResolveDnsConfigTrait Implementations§
Source§impl Clone for OutboundNetwork
impl Clone for OutboundNetwork
Source§fn clone(&self) -> OutboundNetwork
fn clone(&self) -> OutboundNetwork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutboundNetwork
impl Debug for OutboundNetwork
Source§impl<'de> Deserialize<'de> for OutboundNetwork
impl<'de> Deserialize<'de> for OutboundNetwork
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 OutboundNetwork
impl PartialEq for OutboundNetwork
Source§fn eq(&self, other: &OutboundNetwork) -> bool
fn eq(&self, other: &OutboundNetwork) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutboundNetwork
impl Serialize for OutboundNetwork
impl StructuralPartialEq for OutboundNetwork
Auto Trait Implementations§
impl Freeze for OutboundNetwork
impl RefUnwindSafe for OutboundNetwork
impl Send for OutboundNetwork
impl Sync for OutboundNetwork
impl Unpin for OutboundNetwork
impl UnsafeUnpin for OutboundNetwork
impl UnwindSafe for OutboundNetwork
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