pub struct ProbeRecord {
pub status: ProbeStatus,
pub mode: ProbeMode,
pub last_observed_at: DateTime<Utc>,
pub last_pass_at: Option<DateTime<Utc>>,
pub failure_reason: Option<String>,
}Fields§
§status: ProbeStatus§mode: ProbeModePer-probe gate participation per RFC-0007 §3.4. Only
Enforce-mode probes contribute to the soak-gate failing_probes
builder; Observe and Disabled record events but do not gate.
#[serde(default)] (-> Enforce) keeps rehydration safe for
state persisted before this field existed.
last_observed_at: DateTime<Utc>§last_pass_at: Option<DateTime<Utc>>§failure_reason: Option<String>Trait Implementations§
Source§impl Clone for ProbeRecord
impl Clone for ProbeRecord
Source§fn clone(&self) -> ProbeRecord
fn clone(&self) -> ProbeRecord
Returns a duplicate 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 ProbeRecord
impl Debug for ProbeRecord
Source§impl<'de> Deserialize<'de> for ProbeRecord
impl<'de> Deserialize<'de> for ProbeRecord
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 PartialEq for ProbeRecord
impl PartialEq for ProbeRecord
Source§impl Serialize for ProbeRecord
impl Serialize for ProbeRecord
impl Eq for ProbeRecord
impl StructuralPartialEq for ProbeRecord
Auto Trait Implementations§
impl Freeze for ProbeRecord
impl RefUnwindSafe for ProbeRecord
impl Send for ProbeRecord
impl Sync for ProbeRecord
impl Unpin for ProbeRecord
impl UnwindSafe for ProbeRecord
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,
§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
Checks if this value is equivalent to the given key. Read more