#[non_exhaustive]pub struct DnsView {
pub name: String,
pub domains: Vec<DnsDomain>,
pub match_clients: Vec<String>,
}Expand description
A view <name> of a DNS proxy.
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§domains: Vec<DnsDomain>§match_clients: Vec<String>Trait Implementations§
impl Eq for DnsView
impl StructuralPartialEq for DnsView
Auto Trait Implementations§
impl Forget for DnsView
impl Freeze for DnsViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DnsDomain>: Freeze,
PhantomData<String>: Freeze,
impl Move for DnsView
impl RefUnwindSafe for DnsView
impl Send for DnsViewwhere
RawVecInner: Send,
impl Sync for DnsViewwhere
RawVecInner: Sync,
impl Unpin for DnsView
impl UnsafeUnpin for DnsViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DnsDomain>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DnsViewwhere
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