Struct netscan_os::ProbeTarget
source · pub struct ProbeTarget {
pub ip_addr: IpAddr,
pub open_tcp_port: 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: IpAddr§open_tcp_port: u16§closed_tcp_port: u16§open_udp_port: u16§closed_udp_port: u16Implementations§
source§impl ProbeTarget
impl ProbeTarget
Trait Implementations§
source§impl Clone for ProbeTarget
impl Clone for ProbeTarget
source§fn clone(&self) -> ProbeTarget
fn clone(&self) -> ProbeTarget
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ProbeTarget
impl Send for ProbeTarget
impl Sync for ProbeTarget
impl Unpin for ProbeTarget
impl UnwindSafe for ProbeTarget
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