pub struct Host {
pub starttime: usize,
pub endtime: usize,
pub status: HostStatus,
pub address: Address,
pub hostnames: Vec<HostName>,
pub ports: Vec<Port>,
pub extra_ports: Option<Vec<ExtraPorts>>,
}
Fields§
§starttime: usize
§endtime: usize
§status: HostStatus
§address: Address
A host may have multiple address. For example, if the host is part of the same broadcast domain, i.e., on the same LAN, the MAC address is saved as well. Since we currently only scan remote targets, we ignore this special case for now.
hostnames: Vec<HostName>
§ports: Vec<Port>
§extra_ports: Option<Vec<ExtraPorts>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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