pub struct LxcGetOptionsResponseData {
pub dhcp: Option<PveBoolean>,
pub enable: Option<PveBoolean>,
pub ipfilter: Option<PveBoolean>,
pub log_level_in: Option<PveLogEnum>,
pub log_level_out: Option<PveLogEnum>,
pub macfilter: Option<PveBoolean>,
pub ndp: Option<PveBoolean>,
pub policy_in: Option<PvePolicyInEnum>,
pub policy_out: Option<PvePolicyInEnum>,
pub radv: Option<PveBoolean>,
}Fields§
§dhcp: Option<PveBoolean>Enable DHCP.
enable: Option<PveBoolean>Enable/disable firewall rules.
ipfilter: Option<PveBoolean>Enable default IP filters. This is equivalent to adding an empty ipfilter-net
log_level_in: Option<PveLogEnum>Log level for incoming traffic.
log_level_out: Option<PveLogEnum>Log level for outgoing traffic.
macfilter: Option<PveBoolean>Enable/disable MAC address filter.
ndp: Option<PveBoolean>Enable NDP (Neighbor Discovery Protocol).
policy_in: Option<PvePolicyInEnum>Input policy.
policy_out: Option<PvePolicyInEnum>Output policy.
radv: Option<PveBoolean>Allow sending Router Advertisement.
Implementations§
Source§impl LxcGetOptionsResponseData
impl LxcGetOptionsResponseData
pub fn new() -> LxcGetOptionsResponseData
Trait Implementations§
Source§impl Clone for LxcGetOptionsResponseData
impl Clone for LxcGetOptionsResponseData
Source§fn clone(&self) -> LxcGetOptionsResponseData
fn clone(&self) -> LxcGetOptionsResponseData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LxcGetOptionsResponseData
impl Debug for LxcGetOptionsResponseData
Source§impl Default for LxcGetOptionsResponseData
impl Default for LxcGetOptionsResponseData
Source§fn default() -> LxcGetOptionsResponseData
fn default() -> LxcGetOptionsResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LxcGetOptionsResponseData
impl<'de> Deserialize<'de> for LxcGetOptionsResponseData
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
Source§impl PartialEq for LxcGetOptionsResponseData
impl PartialEq for LxcGetOptionsResponseData
Source§fn eq(&self, other: &LxcGetOptionsResponseData) -> bool
fn eq(&self, other: &LxcGetOptionsResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LxcGetOptionsResponseData
Auto Trait Implementations§
impl Freeze for LxcGetOptionsResponseData
impl RefUnwindSafe for LxcGetOptionsResponseData
impl Send for LxcGetOptionsResponseData
impl Sync for LxcGetOptionsResponseData
impl Unpin for LxcGetOptionsResponseData
impl UnsafeUnpin for LxcGetOptionsResponseData
impl UnwindSafe for LxcGetOptionsResponseData
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