#[non_exhaustive]pub struct GkeBackupAgentConfig {
pub enabled: bool,
}Expand description
Configuration for the Backup for GKE Agent.
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 the Backup for GKE agent is enabled for this cluster.
Implementations§
Source§impl GkeBackupAgentConfig
impl GkeBackupAgentConfig
Sourcepub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of enabled.
Trait Implementations§
Source§impl Clone for GkeBackupAgentConfig
impl Clone for GkeBackupAgentConfig
Source§fn clone(&self) -> GkeBackupAgentConfig
fn clone(&self) -> GkeBackupAgentConfig
Returns a copy 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 GkeBackupAgentConfig
impl Debug for GkeBackupAgentConfig
Source§impl Default for GkeBackupAgentConfig
impl Default for GkeBackupAgentConfig
Source§fn default() -> GkeBackupAgentConfig
fn default() -> GkeBackupAgentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GkeBackupAgentConfigwhere
GkeBackupAgentConfig: Default,
impl<'de> Deserialize<'de> for GkeBackupAgentConfigwhere
GkeBackupAgentConfig: Default,
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 Message for GkeBackupAgentConfig
impl Message for GkeBackupAgentConfig
Source§impl PartialEq for GkeBackupAgentConfig
impl PartialEq for GkeBackupAgentConfig
Source§impl Serialize for GkeBackupAgentConfig
impl Serialize for GkeBackupAgentConfig
impl StructuralPartialEq for GkeBackupAgentConfig
Auto Trait Implementations§
impl Freeze for GkeBackupAgentConfig
impl RefUnwindSafe for GkeBackupAgentConfig
impl Send for GkeBackupAgentConfig
impl Sync for GkeBackupAgentConfig
impl Unpin for GkeBackupAgentConfig
impl UnwindSafe for GkeBackupAgentConfig
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