Struct rushmap_core::result::PortScanResult
source · pub struct PortScanResult {
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: PortScanType,
}
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: PortScanType
Implementations§
source§impl PortScanResult
impl PortScanResult
pub fn new() -> PortScanResult
Trait Implementations§
source§impl Clone for PortScanResult
impl Clone for PortScanResult
source§fn clone(&self) -> PortScanResult
fn clone(&self) -> PortScanResult
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 PortScanResult
impl Debug for PortScanResult
source§impl<'de> Deserialize<'de> for PortScanResult
impl<'de> Deserialize<'de> for PortScanResult
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 PortScanResult
impl Send for PortScanResult
impl Sync for PortScanResult
impl Unpin for PortScanResult
impl UnwindSafe for PortScanResult
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