pub struct NmapRun {
pub hosts: Vec<Host>,
pub scan_info: Option<ScanInfo>,
pub args: String,
pub scanner: String,
pub version: String,
pub xml_output_version: String,
pub start: Option<u64>,
pub start_str: Option<String>,
pub verbose: Option<Verbose>,
pub debugging: Option<Debugging>,
pub run_stats: Option<RunStats>,
}
Expand description
Main structure representing an Nmap scan run
Fields§
§hosts: Vec<Host>
List of hosts scanned
scan_info: Option<ScanInfo>
Scan configuration information
args: String
Command line arguments used for the scan
scanner: String
Scanner name (usually “nmap”)
version: String
Nmap version used
xml_output_version: String
XML output version
start: Option<u64>
Unix timestamp when scan started
start_str: Option<String>
Human-readable start time
verbose: Option<Verbose>
Verbosity level information
debugging: Option<Debugging>
Debugging level information
run_stats: Option<RunStats>
Statistics about the scan run
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NmapRun
impl<'de> Deserialize<'de> for NmapRun
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 NmapRun
impl RefUnwindSafe for NmapRun
impl Send for NmapRun
impl Sync for NmapRun
impl Unpin for NmapRun
impl UnwindSafe for NmapRun
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