pub struct GoogleCloudMemcacheV1MaintenancePolicy {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub update_time: Option<DateTime<Utc>>,
pub weekly_maintenance_window: Option<Vec<WeeklyMaintenanceWindow>>,
}
Expand description
Maintenance policy per instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The time when the policy was created.
description: Option<String>
Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.
update_time: Option<DateTime<Utc>>
Output only. The time when the policy was updated.
weekly_maintenance_window: Option<Vec<WeeklyMaintenanceWindow>>
Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one.
Trait Implementations§
source§impl Clone for GoogleCloudMemcacheV1MaintenancePolicy
impl Clone for GoogleCloudMemcacheV1MaintenancePolicy
source§fn clone(&self) -> GoogleCloudMemcacheV1MaintenancePolicy
fn clone(&self) -> GoogleCloudMemcacheV1MaintenancePolicy
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 Default for GoogleCloudMemcacheV1MaintenancePolicy
impl Default for GoogleCloudMemcacheV1MaintenancePolicy
source§fn default() -> GoogleCloudMemcacheV1MaintenancePolicy
fn default() -> GoogleCloudMemcacheV1MaintenancePolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudMemcacheV1MaintenancePolicy
impl<'de> Deserialize<'de> for GoogleCloudMemcacheV1MaintenancePolicy
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
impl Part for GoogleCloudMemcacheV1MaintenancePolicy
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudMemcacheV1MaintenancePolicy
impl Send for GoogleCloudMemcacheV1MaintenancePolicy
impl Sync for GoogleCloudMemcacheV1MaintenancePolicy
impl Unpin for GoogleCloudMemcacheV1MaintenancePolicy
impl UnwindSafe for GoogleCloudMemcacheV1MaintenancePolicy
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