Struct rushmap_core::option::PortScanOption
source · pub struct PortScanOption {Show 18 fields
pub interface_index: u32,
pub interface_name: String,
pub src_ip: IpAddr,
pub src_port: u16,
pub targets: Vec<TargetInfo>,
pub scan_type: PortScanType,
pub protocol: IpNextLevelProtocol,
pub concurrency: usize,
pub timeout: Duration,
pub wait_time: Duration,
pub send_rate: Duration,
pub async_scan: bool,
pub service_detection: bool,
pub os_detection: bool,
pub list_file_path: String,
pub save_file_path: String,
pub json_output: bool,
pub accept_invalid_certs: bool,
}
Fields§
§interface_index: u32
§interface_name: String
§src_ip: IpAddr
§src_port: u16
§targets: Vec<TargetInfo>
§scan_type: PortScanType
§protocol: IpNextLevelProtocol
§concurrency: usize
§timeout: Duration
§wait_time: Duration
§send_rate: Duration
§async_scan: bool
§service_detection: bool
§os_detection: bool
§list_file_path: String
§save_file_path: String
§json_output: bool
§accept_invalid_certs: bool
Implementations§
Trait Implementations§
source§impl Clone for PortScanOption
impl Clone for PortScanOption
source§fn clone(&self) -> PortScanOption
fn clone(&self) -> PortScanOption
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 PortScanOption
impl Debug for PortScanOption
source§impl<'de> Deserialize<'de> for PortScanOption
impl<'de> Deserialize<'de> for PortScanOption
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 PortScanOption
impl Send for PortScanOption
impl Sync for PortScanOption
impl Unpin for PortScanOption
impl UnwindSafe for PortScanOption
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