pub struct PortInfo {
pub port: u16,
pub state: String,
pub service: String,
pub version: String,
pub product: Option<String>,
pub cpe: Vec<String>,
}Available on crate feature
nmap-zero-day only.Fields§
§port: u16§state: String§service: String§version: String§product: Option<String>§cpe: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PortInfo
impl<'de> Deserialize<'de> for PortInfo
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 PortInfo
impl RefUnwindSafe for PortInfo
impl Send for PortInfo
impl Sync for PortInfo
impl Unpin for PortInfo
impl UnsafeUnpin for PortInfo
impl UnwindSafe for PortInfo
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