pub struct DnsNetworkInfo {
pub package: Option<String>,
pub path: Option<String>,
pub version: Option<String>,
}
Available on crate feature
v5
only.Expand description
NetworkInfo contains the DNS information.
Fields§
§package: Option<String>
§path: Option<String>
§version: Option<String>
Trait Implementations§
Source§impl Debug for DnsNetworkInfo
impl Debug for DnsNetworkInfo
Source§impl Default for DnsNetworkInfo
impl Default for DnsNetworkInfo
Source§fn default() -> DnsNetworkInfo
fn default() -> DnsNetworkInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DnsNetworkInfo
impl<'de> Deserialize<'de> for DnsNetworkInfo
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
Auto Trait Implementations§
impl Freeze for DnsNetworkInfo
impl RefUnwindSafe for DnsNetworkInfo
impl Send for DnsNetworkInfo
impl Sync for DnsNetworkInfo
impl Unpin for DnsNetworkInfo
impl UnwindSafe for DnsNetworkInfo
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