pub struct ScanInfo {
pub scan_type: ScanType,
pub protocol: PortProtocol,
pub num_services: String,
pub services: Option<String>,
}
Expand description
Information about the scan configuration
Fields§
§scan_type: ScanType
Type of scan performed
protocol: PortProtocol
Protocol used for scanning
num_services: String
Number of services scanned
services: Option<String>
List of services scanned
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScanInfo
impl<'de> Deserialize<'de> for ScanInfo
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 ScanInfo
impl RefUnwindSafe for ScanInfo
impl Send for ScanInfo
impl Sync for ScanInfo
impl Unpin for ScanInfo
impl UnwindSafe for ScanInfo
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