pub struct CheckIn {
pub check_in_id: Uuid,
pub monitor_slug: String,
pub status: CheckInStatus,
pub environment: Option<String>,
pub duration: Option<f64>,
pub monitor_config: Option<MonitorConfig>,
pub contexts: Option<CheckInContexts>,
}
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: CheckInStatus
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 since it has started in seconds.
monitor_config: Option<MonitorConfig>
monitor configuration to support upserts.
contexts: Option<CheckInContexts>
Contexts describing the associated environment of the job run. Only supports trace for now.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckIn
impl<'de> Deserialize<'de> for CheckIn
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
Auto Trait Implementations§
impl Freeze for CheckIn
impl RefUnwindSafe for CheckIn
impl Send for CheckIn
impl Sync for CheckIn
impl Unpin for CheckIn
impl UnwindSafe for CheckIn
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