#[non_exhaustive]pub struct DefaultSnatStatus {
pub disabled: bool,
/* private fields */
}Expand description
DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.disabled: boolDisables cluster default sNAT rules.
Implementations§
Trait Implementations§
Source§impl Clone for DefaultSnatStatus
impl Clone for DefaultSnatStatus
Source§fn clone(&self) -> DefaultSnatStatus
fn clone(&self) -> DefaultSnatStatus
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 DefaultSnatStatus
impl Debug for DefaultSnatStatus
Source§impl Default for DefaultSnatStatus
impl Default for DefaultSnatStatus
Source§fn default() -> DefaultSnatStatus
fn default() -> DefaultSnatStatus
Returns the “default value” for a type. Read more
Source§impl Message for DefaultSnatStatus
impl Message for DefaultSnatStatus
Source§impl PartialEq for DefaultSnatStatus
impl PartialEq for DefaultSnatStatus
impl StructuralPartialEq for DefaultSnatStatus
Auto Trait Implementations§
impl Freeze for DefaultSnatStatus
impl RefUnwindSafe for DefaultSnatStatus
impl Send for DefaultSnatStatus
impl Sync for DefaultSnatStatus
impl Unpin for DefaultSnatStatus
impl UnwindSafe for DefaultSnatStatus
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