#[repr(i32)]pub enum ResolutionStatus {
Unspecified = 0,
Open = 1,
Acknowledged = 2,
Resolved = 3,
Muted = 4,
}
Expand description
Resolution status of an error group.
Variants§
Unspecified = 0
Status is unknown. When left unspecified in requests, it is treated like OPEN.
Open = 1
The error group is not being addressed. This is the default for new groups. It is also used for errors re-occurring after marked RESOLVED.
Acknowledged = 2
Error Group manually acknowledged, it can have an issue link attached.
Resolved = 3
Error Group manually resolved, more events for this group are not expected to occur.
Muted = 4
The error group is muted and excluded by default on group stats requests.
Implementations§
source§impl ResolutionStatus
impl ResolutionStatus
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 ResolutionStatus
impl Clone for ResolutionStatus
source§fn clone(&self) -> ResolutionStatus
fn clone(&self) -> ResolutionStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResolutionStatus
impl Debug for ResolutionStatus
source§impl Default for ResolutionStatus
impl Default for ResolutionStatus
source§fn default() -> ResolutionStatus
fn default() -> ResolutionStatus
source§impl From<ResolutionStatus> for i32
impl From<ResolutionStatus> for i32
source§fn from(value: ResolutionStatus) -> i32
fn from(value: ResolutionStatus) -> i32
source§impl Hash for ResolutionStatus
impl Hash for ResolutionStatus
source§impl Ord for ResolutionStatus
impl Ord for ResolutionStatus
source§fn cmp(&self, other: &ResolutionStatus) -> Ordering
fn cmp(&self, other: &ResolutionStatus) -> 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 ResolutionStatus
impl PartialEq for ResolutionStatus
source§fn eq(&self, other: &ResolutionStatus) -> bool
fn eq(&self, other: &ResolutionStatus) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ResolutionStatus
impl PartialOrd for ResolutionStatus
source§fn partial_cmp(&self, other: &ResolutionStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &ResolutionStatus) -> 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 ResolutionStatus
impl TryFrom<i32> for ResolutionStatus
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ResolutionStatus, UnknownEnumValue>
fn try_from(value: i32) -> Result<ResolutionStatus, UnknownEnumValue>
impl Copy for ResolutionStatus
impl Eq for ResolutionStatus
impl StructuralPartialEq for ResolutionStatus
Auto Trait Implementations§
impl Freeze for ResolutionStatus
impl RefUnwindSafe for ResolutionStatus
impl Send for ResolutionStatus
impl Sync for ResolutionStatus
impl Unpin for ResolutionStatus
impl UnwindSafe for ResolutionStatus
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