pub struct Report {
pub host: String,
pub addresses: Vec<IpAddr>,
pub local: bool,
pub gateway: Option<IpAddr>,
pub devices: Vec<Device>,
}Expand description
The result of a discovery.
Fields§
§host: StringThe configured host.
addresses: Vec<IpAddr>The addresses it resolves to.
local: boolWhether it resolves only to addresses of the local network.
gateway: Option<IpAddr>The default gateway of this machine.
devices: Vec<Device>The verified devices, routers first.
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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