Struct google_redis1::api::MaintenancePolicy
source · pub struct MaintenancePolicy {
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 for an 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>
Optional. 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 last updated.
weekly_maintenance_window: Option<Vec<WeeklyMaintenanceWindow>>
Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
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