Struct sentry_types::protocol::v7::MonitorCheckIn
source · pub struct MonitorCheckIn {
pub check_in_id: Uuid,
pub monitor_slug: String,
pub status: MonitorCheckInStatus,
pub environment: Option<String>,
pub duration: Option<f64>,
pub monitor_config: Option<MonitorConfig>,
}
Expand description
The monitor check-in payload.
Fields§
§check_in_id: Uuid
Unique identifier of this check-in.
monitor_slug: String
Identifier of the monitor for this check-in.
status: MonitorCheckInStatus
Status of this check-in. Defaults to "unknown"
.
environment: Option<String>
The environment to associate the check-in with.
duration: Option<f64>
Duration of this check-in since it has started in seconds.
monitor_config: Option<MonitorConfig>
Monitor configuration to support upserts. When provided a monitor will be created on Sentry upon receiving the first check-in.
If the monitor already exists the configuration will be updated with the values provided in this object.
Trait Implementations§
source§impl Clone for MonitorCheckIn
impl Clone for MonitorCheckIn
source§fn clone(&self) -> MonitorCheckIn
fn clone(&self) -> MonitorCheckIn
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 MonitorCheckIn
impl Debug for MonitorCheckIn
source§impl<'de> Deserialize<'de> for MonitorCheckIn
impl<'de> Deserialize<'de> for MonitorCheckIn
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 From<MonitorCheckIn> for EnvelopeItem
impl From<MonitorCheckIn> for EnvelopeItem
source§fn from(check_in: MonitorCheckIn) -> Self
fn from(check_in: MonitorCheckIn) -> Self
Converts to this type from the input type.
source§impl PartialEq for MonitorCheckIn
impl PartialEq for MonitorCheckIn
source§fn eq(&self, other: &MonitorCheckIn) -> bool
fn eq(&self, other: &MonitorCheckIn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MonitorCheckIn
impl Serialize for MonitorCheckIn
impl StructuralPartialEq for MonitorCheckIn
Auto Trait Implementations§
impl Freeze for MonitorCheckIn
impl RefUnwindSafe for MonitorCheckIn
impl Send for MonitorCheckIn
impl Sync for MonitorCheckIn
impl Unpin for MonitorCheckIn
impl UnwindSafe for MonitorCheckIn
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