pub struct ExtraReasons {
pub reason: String,
pub count: u32,
pub protocol: Option<PortProtocol>,
pub ports: Option<String>,
}
Expand description
Additional reasons for port state
Fields§
§reason: String
Reason description
count: u32
Number of ports with this reason
protocol: Option<PortProtocol>
Protocol used
ports: Option<String>
Port numbers affected
Trait Implementations§
Source§impl Debug for ExtraReasons
impl Debug for ExtraReasons
Source§impl<'de> Deserialize<'de> for ExtraReasons
impl<'de> Deserialize<'de> for ExtraReasons
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 ExtraReasons
impl RefUnwindSafe for ExtraReasons
impl Send for ExtraReasons
impl Sync for ExtraReasons
impl Unpin for ExtraReasons
impl UnwindSafe for ExtraReasons
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