Enum google_api_proto::google::cloud::servicehealth::v1::event::Relevance
source · #[repr(i32)]pub enum Relevance {
Unspecified = 0,
Unknown = 2,
NotImpacted = 6,
PartiallyRelated = 7,
Related = 8,
Impacted = 9,
}
Expand description
Communicates why a given incident is deemed relevant in the context of a given project. This enum lists all possible detailed states of relevance.
Variants§
Unspecified = 0
Unspecified relevance.
Unknown = 2
The relevance of the incident to the project is unknown.
NotImpacted = 6
The incident does not impact the project.
PartiallyRelated = 7
The incident is associated with a Google Cloud product your project uses, but the incident may not be impacting your project. For example, the incident may be impacting a Google Cloud product that your project uses, but in a location that your project does not use.
Related = 8
The incident has a direct connection with your project and impacts a Google Cloud product in a location your project uses.
Impacted = 9
The incident is verified to be impacting your project.
Implementations§
source§impl Relevance
impl Relevance
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 Ord for Relevance
impl Ord for Relevance
source§impl PartialEq for Relevance
impl PartialEq for Relevance
source§impl PartialOrd for Relevance
impl PartialOrd for Relevance
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 Relevance
impl TryFrom<i32> for Relevance
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Relevance
impl Eq for Relevance
impl StructuralPartialEq for Relevance
Auto Trait Implementations§
impl Freeze for Relevance
impl RefUnwindSafe for Relevance
impl Send for Relevance
impl Sync for Relevance
impl Unpin for Relevance
impl UnwindSafe for Relevance
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