pub struct PortScanResult {
pub port: u16,
pub status: PortStatus,
pub service: Option<String>,
pub banner: Option<String>,
pub risk_level: PortRiskLevel,
pub timestamp: DateTime<Utc>,
pub response_time_ms: Option<u64>,
}Expand description
Scan result for a single port
Fields§
§port: u16§status: PortStatus§service: Option<String>§risk_level: PortRiskLevel§timestamp: DateTime<Utc>§response_time_ms: Option<u64>Trait Implementations§
Source§impl Clone for PortScanResult
impl Clone for PortScanResult
Source§fn clone(&self) -> PortScanResult
fn clone(&self) -> PortScanResult
Returns a duplicate 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 Freeze for PortScanResult
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