pub struct Host {
pub status: Status,
pub addresses: Vec<Address>,
pub hostnames: Option<HostNames>,
pub ports: Option<Ports>,
pub start_time: Option<u64>,
pub end_time: Option<u64>,
}
Expand description
Information about a scanned host
Fields§
§status: Status
Host status information
addresses: Vec<Address>
List of addresses associated with the host
hostnames: Option<HostNames>
Host names associated with the host
ports: Option<Ports>
Port scan results
start_time: Option<u64>
Unix timestamp when host scan started
end_time: Option<u64>
Unix timestamp when host scan ended
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Host
impl<'de> Deserialize<'de> for Host
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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