pub struct DnsNetworkInfo {
pub package: Option<String>,
pub path: Option<String>,
pub version: Option<String>,
}
Fields§
§package: Option<String>
§path: Option<String>
§version: Option<String>
Implementations§
Source§impl DnsNetworkInfo
impl DnsNetworkInfo
pub fn new() -> DnsNetworkInfo
Trait Implementations§
Source§impl Clone for DnsNetworkInfo
impl Clone for DnsNetworkInfo
Source§fn clone(&self) -> DnsNetworkInfo
fn clone(&self) -> DnsNetworkInfo
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 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
Source§impl PartialEq for DnsNetworkInfo
impl PartialEq for DnsNetworkInfo
Source§impl Serialize for DnsNetworkInfo
impl Serialize for DnsNetworkInfo
impl StructuralPartialEq for DnsNetworkInfo
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