pub struct ClientSupports {
pub hair_pinning: Option<bool>,
pub ipv6: Option<bool>,
pub pcp: Option<bool>,
pub pmp: Option<bool>,
pub udp: Option<bool>,
pub upnp: Option<bool>,
pub unknown: Unknown,
}Expand description
NAT and address-family features the client reports.
Every field is nullable in the description and hairPinning is
documented as always null now, so absent and false are different
answers here and the Option is carrying real information.
Fields§
§hair_pinning: Option<bool>No longer tracked; always null.
ipv6: Option<bool>Whether the OS supports IPv6, not whether IPv6 works here.
pcp: Option<bool>§pmp: Option<bool>§udp: Option<bool>§upnp: Option<bool>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for ClientSupports
impl Clone for ClientSupports
Source§fn clone(&self) -> ClientSupports
fn clone(&self) -> ClientSupports
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 ClientSupports
impl Debug for ClientSupports
Source§impl<'de> Deserialize<'de> for ClientSupports
impl<'de> Deserialize<'de> for ClientSupports
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 ClientSupports
impl PartialEq for ClientSupports
Source§impl Serialize for ClientSupports
impl Serialize for ClientSupports
impl StructuralPartialEq for ClientSupports
Auto Trait Implementations§
impl Freeze for ClientSupports
impl RefUnwindSafe for ClientSupports
impl Send for ClientSupports
impl Sync for ClientSupports
impl Unpin for ClientSupports
impl UnsafeUnpin for ClientSupports
impl UnwindSafe for ClientSupports
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