Struct MonitorCheckIn
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§
§impl Clone for MonitorCheckIn
impl Clone for MonitorCheckIn
§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 more§impl Debug for MonitorCheckIn
impl Debug for MonitorCheckIn
§impl<'de> Deserialize<'de> for MonitorCheckIn
impl<'de> Deserialize<'de> for MonitorCheckIn
§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
§impl From<MonitorCheckIn> for EnvelopeItem
impl From<MonitorCheckIn> for EnvelopeItem
§fn from(check_in: MonitorCheckIn) -> EnvelopeItem
fn from(check_in: MonitorCheckIn) -> EnvelopeItem
Converts to this type from the input type.
§impl PartialEq for MonitorCheckIn
impl PartialEq for MonitorCheckIn
§impl Serialize for MonitorCheckIn
impl Serialize for MonitorCheckIn
§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)