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<MonitorCheckIn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MonitorCheckIn, <__D as Deserializer<'de>>::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) -> EnvelopeItem
fn from(check_in: MonitorCheckIn) -> EnvelopeItem
Converts to this type from the input type.
Source§impl PartialEq for MonitorCheckIn
impl PartialEq for MonitorCheckIn
Source§impl Serialize for MonitorCheckIn
impl Serialize for MonitorCheckIn
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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