#[non_exhaustive]pub struct DnsDomain {
pub name: String,
pub forward_only: bool,
pub forwarders: Vec<String>,
}Expand description
A domain <name> of a DNS proxy view, or a default-domain <name>.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§forward_only: boolOnly the queries are forwarded; the device does not acquire public addresses.
forwarders: Vec<String>Trait Implementations§
impl Eq for DnsDomain
impl StructuralPartialEq for DnsDomain
Auto Trait Implementations§
impl Forget for DnsDomain
impl Freeze for DnsDomain
impl Move for DnsDomain
impl RefUnwindSafe for DnsDomain
impl Send for DnsDomainwhere
RawVecInner: Send,
impl Sync for DnsDomainwhere
RawVecInner: Sync,
impl Unpin for DnsDomain
impl UnsafeUnpin for DnsDomainwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DnsDomainwhere
RawVecInner: UnwindSafe,
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