#[repr(i32)]pub enum DetailedState {
Unspecified = 0,
Emerging = 1,
Confirmed = 2,
Resolved = 3,
Merged = 4,
AutoClosed = 9,
FalsePositive = 10,
}
Expand description
The detailed state of the incident. This enum lists all possible detailed states of an incident.
Variants§
Unspecified = 0
Unspecified detail state.
Emerging = 1
Google engineers are actively investigating the incident to determine the impact.
Confirmed = 2
The incident is confirmed and impacting at least one Google Cloud product. Ongoing status updates will be provided until it is resolved.
Resolved = 3
The incident is no longer affecting any Google Cloud product, and there will be no further updates.
Merged = 4
The incident was merged into a parent event. All further updates will be
published to the parent only. The parent_event
contains the name of the
parent.
AutoClosed = 9
The incident was automatically closed because of the following reasons:
- The impact of the incident could not be confirmed.
- The incident was intermittent or resolved itself.
The incident does not have a resolution because no action or investigation happened. If it is intermittent, the incident may reopen.
FalsePositive = 10
Upon investigation, Google engineers concluded that the incident is not affecting a Google Cloud product. This state can change if the incident is reviewed again.
Implementations§
source§impl DetailedState
impl DetailedState
source§impl DetailedState
impl DetailedState
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for DetailedState
impl Clone for DetailedState
source§fn clone(&self) -> DetailedState
fn clone(&self) -> DetailedState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DetailedState
impl Debug for DetailedState
source§impl Default for DetailedState
impl Default for DetailedState
source§fn default() -> DetailedState
fn default() -> DetailedState
source§impl From<DetailedState> for i32
impl From<DetailedState> for i32
source§fn from(value: DetailedState) -> i32
fn from(value: DetailedState) -> i32
source§impl Hash for DetailedState
impl Hash for DetailedState
source§impl Ord for DetailedState
impl Ord for DetailedState
source§fn cmp(&self, other: &DetailedState) -> Ordering
fn cmp(&self, other: &DetailedState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for DetailedState
impl PartialEq for DetailedState
source§fn eq(&self, other: &DetailedState) -> bool
fn eq(&self, other: &DetailedState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DetailedState
impl PartialOrd for DetailedState
source§fn partial_cmp(&self, other: &DetailedState) -> Option<Ordering>
fn partial_cmp(&self, other: &DetailedState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for DetailedState
impl TryFrom<i32> for DetailedState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<DetailedState, UnknownEnumValue>
fn try_from(value: i32) -> Result<DetailedState, UnknownEnumValue>
impl Copy for DetailedState
impl Eq for DetailedState
impl StructuralPartialEq for DetailedState
Auto Trait Implementations§
impl Freeze for DetailedState
impl RefUnwindSafe for DetailedState
impl Send for DetailedState
impl Sync for DetailedState
impl Unpin for DetailedState
impl UnwindSafe for DetailedState
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request