Struct gapi_grpc::google::container::v1::MaintenancePolicy[][src]

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

MaintenancePolicy defines the maintenance policy to be used for the cluster.

Fields

window: Option<MaintenanceWindow>

Specifies the maintenance window in which maintenance may be performed.

resource_version: 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.

Trait Implementations

impl Clone for MaintenancePolicy[src]

impl Debug for MaintenancePolicy[src]

impl Default for MaintenancePolicy[src]

impl Message for MaintenancePolicy[src]

impl PartialEq<MaintenancePolicy> for MaintenancePolicy[src]

impl StructuralPartialEq for MaintenancePolicy[src]

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

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]