pub struct PortSecurityConfig {
pub prohibited_ports: Vec<u16>,
pub encryption_required_ports: Vec<u16>,
pub allowed_ports: Vec<u16>,
}Expand description
Port security configuration for compliance checking
Fields§
§prohibited_ports: Vec<u16>Ports that should be closed
encryption_required_ports: Vec<u16>Ports that require encryption
allowed_ports: Vec<u16>Allowed ports
Trait Implementations§
Source§impl Clone for PortSecurityConfig
impl Clone for PortSecurityConfig
Source§fn clone(&self) -> PortSecurityConfig
fn clone(&self) -> PortSecurityConfig
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 PortSecurityConfig
impl Debug for PortSecurityConfig
Auto Trait Implementations§
impl Freeze for PortSecurityConfig
impl RefUnwindSafe for PortSecurityConfig
impl Send for PortSecurityConfig
impl Sync for PortSecurityConfig
impl Unpin for PortSecurityConfig
impl UnwindSafe for PortSecurityConfig
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