pub struct PortStateDetails {
pub state: PortState,
pub reason: String,
pub reason_ttl: String,
pub reason_ip: Option<String>,
}
Expand description
Detailed port state information
Fields§
§state: PortState
State of the port
reason: String
Reason for the state determination
reason_ttl: String
TTL value from the reason determination
reason_ip: Option<String>
IP address that provided the reason
Trait Implementations§
Source§impl Debug for PortStateDetails
impl Debug for PortStateDetails
Source§impl<'de> Deserialize<'de> for PortStateDetails
impl<'de> Deserialize<'de> for PortStateDetails
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 PortStateDetails
impl RefUnwindSafe for PortStateDetails
impl Send for PortStateDetails
impl Sync for PortStateDetails
impl Unpin for PortStateDetails
impl UnwindSafe for PortStateDetails
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