Struct google_container1::api::MaintenancePolicy[][src]

pub struct MaintenancePolicy {
    pub resource_version: Option<String>,
    pub window: Option<MaintenanceWindow>,
}

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

impl Clone for MaintenancePolicy[src]

impl Debug for MaintenancePolicy[src]

impl Default for MaintenancePolicy[src]

impl<'de> Deserialize<'de> for MaintenancePolicy[src]

impl Part for MaintenancePolicy[src]

impl Serialize for MaintenancePolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.