#[non_exhaustive]pub enum MaintenanceCategory {
Unspecified,
Infrastructure,
ServiceUpdate,
UnknownValue(UnknownValue),
}Expand description
The Category of the maintenance.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
Unspecified category.
Infrastructure
Infrastructure maintenance events are times that Google Cloud performs regular maintenance on network equipment e.g. Google Cloud Interconnect These events are usually scheduled in advance and we provide notification, when possible, so that users can plan for the infrastructure maintenance event and prevent downtime. Infrastructure maintenance events don’t have a set interval between occurrences, but generally occur several times a year.
ServiceUpdate
Updates that can include bug fixes, changes, or new features that are backward compatible with existing versions (including patches). Some SPs allow users to control the scheduling of these maintenance events using maintenance windows and/or deny maintenance features.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using MaintenanceCategory::value or MaintenanceCategory::name.
Implementations§
Trait Implementations§
Source§impl Clone for MaintenanceCategory
impl Clone for MaintenanceCategory
Source§fn clone(&self) -> MaintenanceCategory
fn clone(&self) -> MaintenanceCategory
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MaintenanceCategory
impl Debug for MaintenanceCategory
Source§impl Default for MaintenanceCategory
impl Default for MaintenanceCategory
Source§impl<'de> Deserialize<'de> for MaintenanceCategory
impl<'de> Deserialize<'de> for MaintenanceCategory
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>,
Source§impl Display for MaintenanceCategory
impl Display for MaintenanceCategory
Source§impl From<&str> for MaintenanceCategory
impl From<&str> for MaintenanceCategory
Source§impl From<i32> for MaintenanceCategory
impl From<i32> for MaintenanceCategory
Source§impl PartialEq for MaintenanceCategory
impl PartialEq for MaintenanceCategory
Source§impl Serialize for MaintenanceCategory
impl Serialize for MaintenanceCategory
impl StructuralPartialEq for MaintenanceCategory
Auto Trait Implementations§
impl Freeze for MaintenanceCategory
impl RefUnwindSafe for MaintenanceCategory
impl Send for MaintenanceCategory
impl Sync for MaintenanceCategory
impl Unpin for MaintenanceCategory
impl UnwindSafe for MaintenanceCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.