pub struct Request {
pub name: String,
pub expected: Option<IpAddr>,
pub router_dns: Option<SocketAddr>,
}Expand description
What to check.
Fields§
§name: StringA name checked with check_name.
expected: Option<IpAddr>The address the answers should have.
router_dns: Option<SocketAddr>The DNS server asked as the router, instead of the LAN address of the device.
Trait Implementations§
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Forget for Request
impl Freeze for Request
impl Move for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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