Struct google_container1::api::MaintenancePolicy
source · pub struct MaintenancePolicy {
pub resource_version: Option<String>,
pub window: Option<MaintenanceWindow>,
}
Expand description
MaintenancePolicy defines the maintenance policy to be used for the cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§resource_version: Option<String>
A hash identifying the version of this policy, so that updates to fields of the policy won’t accidentally undo intermediate changes (and so that users of the API unaware of some fields won’t accidentally remove other fields). Make a get()
request to the cluster to get the current resource version and include it with requests to set the policy.
window: Option<MaintenanceWindow>
Specifies the maintenance window in which maintenance may be performed.
Trait Implementations§
source§impl Clone for MaintenancePolicy
impl Clone for MaintenancePolicy
source§fn clone(&self) -> MaintenancePolicy
fn clone(&self) -> MaintenancePolicy
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 MaintenancePolicy
impl Debug for MaintenancePolicy
source§impl Default for MaintenancePolicy
impl Default for MaintenancePolicy
source§fn default() -> MaintenancePolicy
fn default() -> MaintenancePolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MaintenancePolicy
impl<'de> Deserialize<'de> for MaintenancePolicy
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 Serialize for MaintenancePolicy
impl Serialize for MaintenancePolicy
impl Part for MaintenancePolicy
Auto Trait Implementations§
impl RefUnwindSafe for MaintenancePolicy
impl Send for MaintenancePolicy
impl Sync for MaintenancePolicy
impl Unpin for MaintenancePolicy
impl UnwindSafe for MaintenancePolicy
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