#[non_exhaustive]pub struct PodSnapshotConfig {
pub enabled: bool,
/* private fields */
}Expand description
PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.
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.enabled: boolWhether or not the Pod Snapshots feature is enabled.
Implementations§
Trait Implementations§
Source§impl Clone for PodSnapshotConfig
impl Clone for PodSnapshotConfig
Source§fn clone(&self) -> PodSnapshotConfig
fn clone(&self) -> PodSnapshotConfig
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 PodSnapshotConfig
impl Debug for PodSnapshotConfig
Source§impl Default for PodSnapshotConfig
impl Default for PodSnapshotConfig
Source§fn default() -> PodSnapshotConfig
fn default() -> PodSnapshotConfig
Returns the “default value” for a type. Read more
Source§impl Message for PodSnapshotConfig
impl Message for PodSnapshotConfig
Source§impl PartialEq for PodSnapshotConfig
impl PartialEq for PodSnapshotConfig
Source§fn eq(&self, other: &PodSnapshotConfig) -> bool
fn eq(&self, other: &PodSnapshotConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PodSnapshotConfig
Auto Trait Implementations§
impl Freeze for PodSnapshotConfig
impl RefUnwindSafe for PodSnapshotConfig
impl Send for PodSnapshotConfig
impl Sync for PodSnapshotConfig
impl Unpin for PodSnapshotConfig
impl UnsafeUnpin for PodSnapshotConfig
impl UnwindSafe for PodSnapshotConfig
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