/// Create a new scan report message header.
Create a new scan report message header.
Create a new scan report message header .
fn new(msg: &ScanReportMessage) -> ScanReportMesssageHeader {
        ScanReportMesssageHeader {
            request_id: msg.request_id,
            host_count: msg.scan_report.hosts.len() as u32
        }
    }
fn new ( msg : & ScanReportMessage ) -> ScanReportMesssageHeader { ScanReportMesssageHeader { request_id : msg . request_id , host_count : msg . scan_report . hosts . len ( ) as u32 } }
Create a new scan report message header.
Create a new scan report message header .
msg
&ScanReportMessage