pub struct NetworkDns {
pub servers: Option<Vec<String>>,
pub searches: Option<Vec<String>>,
pub options: Option<Vec<String>>,
}
Fields§
§servers: Option<Vec<String>>
§searches: Option<Vec<String>>
§options: Option<Vec<String>>
Implementations§
Source§impl NetworkDns
impl NetworkDns
pub fn new() -> NetworkDns
Trait Implementations§
Source§impl Clone for NetworkDns
impl Clone for NetworkDns
Source§fn clone(&self) -> NetworkDns
fn clone(&self) -> NetworkDns
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NetworkDns
impl Debug for NetworkDns
Source§impl<'de> Deserialize<'de> for NetworkDns
impl<'de> Deserialize<'de> for NetworkDns
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 NetworkDns
impl PartialEq for NetworkDns
Source§impl Serialize for NetworkDns
impl Serialize for NetworkDns
impl StructuralPartialEq for NetworkDns
Auto Trait Implementations§
impl Freeze for NetworkDns
impl RefUnwindSafe for NetworkDns
impl Send for NetworkDns
impl Sync for NetworkDns
impl Unpin for NetworkDns
impl UnwindSafe for NetworkDns
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