pub struct DnsPlain {
pub props: Props,
pub addr: IpAddr,
}Expand description
Plain dns configuration parsed from a dnsstamp
Fields§
§props: Propsserver properties
addr: IpAddraddr is the IP address of the server.
IPv6 strings must be included in square brackets: [fe80::6d6d:f72c:3ad:60b8].
Scopes are permitted.
Trait Implementations§
impl Eq for DnsPlain
impl StructuralPartialEq for DnsPlain
Auto Trait Implementations§
impl Freeze for DnsPlain
impl RefUnwindSafe for DnsPlain
impl Send for DnsPlain
impl Sync for DnsPlain
impl Unpin for DnsPlain
impl UnwindSafe for DnsPlain
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