Struct rushmap_core::result::HostScanResult
source · pub struct HostScanResult {
pub probe_id: String,
pub nodes: Vec<NodeInfo>,
pub probe_status: ProbeStatus,
pub start_time: String,
pub end_time: String,
pub elapsed_time: u64,
pub protocol: IpNextLevelProtocol,
pub command_type: CommandType,
pub scan_type: HostScanType,
}
Fields§
§probe_id: String
§nodes: Vec<NodeInfo>
§probe_status: ProbeStatus
§start_time: String
start-time in RFC 3339 and ISO 8601 date and time string
end_time: String
end-time in RFC 3339 and ISO 8601 date and time string
elapsed_time: u64
Elapsed time in milliseconds
protocol: IpNextLevelProtocol
§command_type: CommandType
§scan_type: HostScanType
Implementations§
source§impl HostScanResult
impl HostScanResult
pub fn new() -> HostScanResult
Trait Implementations§
source§impl Clone for HostScanResult
impl Clone for HostScanResult
source§fn clone(&self) -> HostScanResult
fn clone(&self) -> HostScanResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HostScanResult
impl Debug for HostScanResult
source§impl<'de> Deserialize<'de> for HostScanResult
impl<'de> Deserialize<'de> for HostScanResult
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 RefUnwindSafe for HostScanResult
impl Send for HostScanResult
impl Sync for HostScanResult
impl Unpin for HostScanResult
impl UnwindSafe for HostScanResult
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