pub struct RouterView {
pub domain: Option<String>,
pub dns_servers: Vec<String>,
pub address: Option<String>,
pub host: Option<HostEntry>,
}Expand description
What the router knows about the name.
Fields§
§domain: Option<String>The local domain, like fritz.box.
dns_servers: Vec<String>The DNS servers it hands out over DHCP.
address: Option<String>The address of the device in the LAN.
host: Option<HostEntry>The host of this name in the host table, if there is one.
Trait Implementations§
Source§impl Clone for RouterView
impl Clone for RouterView
Source§impl Debug for RouterView
impl Debug for RouterView
Source§impl Default for RouterView
impl Default for RouterView
impl Eq for RouterView
Source§impl PartialEq for RouterView
impl PartialEq for RouterView
Source§impl Serialize for RouterView
impl Serialize for RouterView
impl StructuralPartialEq for RouterView
Auto Trait Implementations§
impl Forget for RouterView
impl Freeze for RouterView
impl Move for RouterView
impl RefUnwindSafe for RouterView
impl Send for RouterView
impl Sync for RouterView
impl Unpin for RouterView
impl UnsafeUnpin for RouterView
impl UnwindSafe for RouterView
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