pub struct DnsNameserversSet {
pub dns: Option<Vec<String>>,
pub magic_dns: Option<bool>,
pub unknown: Unknown,
}Expand description
What replacing the nameservers answers with: the new list, and the state MagicDNS was left in.
Fields§
§dns: Option<Vec<String>>§magic_dns: Option<bool>Turns itself off when the last nameserver goes, which is why the answer says so rather than leaving a caller to read it back.
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 DnsNameserversSet
impl Clone for DnsNameserversSet
Source§fn clone(&self) -> DnsNameserversSet
fn clone(&self) -> DnsNameserversSet
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 DnsNameserversSet
impl Debug for DnsNameserversSet
Source§impl<'de> Deserialize<'de> for DnsNameserversSet
impl<'de> Deserialize<'de> for DnsNameserversSet
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 DnsNameserversSet
impl PartialEq for DnsNameserversSet
Source§impl Serialize for DnsNameserversSet
impl Serialize for DnsNameserversSet
impl StructuralPartialEq for DnsNameserversSet
Auto Trait Implementations§
impl Freeze for DnsNameserversSet
impl RefUnwindSafe for DnsNameserversSet
impl Send for DnsNameserversSet
impl Sync for DnsNameserversSet
impl Unpin for DnsNameserversSet
impl UnsafeUnpin for DnsNameserversSet
impl UnwindSafe for DnsNameserversSet
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