Struct netscan_os::ProbeTarget
source · [−]pub struct ProbeTarget {
pub ip_addr: IpAddr,
pub open_tcp_ports: Vec<u16>,
pub closed_tcp_port: u16,
pub open_udp_port: u16,
pub closed_udp_port: u16,
}Expand description
Target host and required port information
Fields
ip_addr: IpAddropen_tcp_ports: Vec<u16>closed_tcp_port: u16open_udp_port: u16closed_udp_port: u16Trait Implementations
sourceimpl Clone for ProbeTarget
impl Clone for ProbeTarget
sourcefn clone(&self) -> ProbeTarget
fn clone(&self) -> ProbeTarget
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProbeTarget
impl Send for ProbeTarget
impl Sync for ProbeTarget
impl Unpin for ProbeTarget
impl UnwindSafe for ProbeTarget
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more