pub struct NetworkSecurity {
pub firewall_enabled: Option<bool>,
pub vpn_connected: Option<bool>,
pub segmented: Option<bool>,
pub open_ports: Option<Vec<u16>>,
pub ids_enabled: Option<bool>,
}Expand description
Network security status.
Fields§
§firewall_enabled: Option<bool>Firewall enabled
vpn_connected: Option<bool>VPN connected
segmented: Option<bool>Network segmentation
open_ports: Option<Vec<u16>>Open ports
ids_enabled: Option<bool>Intrusion detection enabled
Trait Implementations§
Source§impl Clone for NetworkSecurity
impl Clone for NetworkSecurity
Source§fn clone(&self) -> NetworkSecurity
fn clone(&self) -> NetworkSecurity
Returns a duplicate 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 moreSource§impl Debug for NetworkSecurity
impl Debug for NetworkSecurity
Source§impl Default for NetworkSecurity
impl Default for NetworkSecurity
Source§fn default() -> NetworkSecurity
fn default() -> NetworkSecurity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkSecurity
impl<'de> Deserialize<'de> for NetworkSecurity
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 NetworkSecurity
impl RefUnwindSafe for NetworkSecurity
impl Send for NetworkSecurity
impl Sync for NetworkSecurity
impl Unpin for NetworkSecurity
impl UnwindSafe for NetworkSecurity
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