pub struct Case {
pub sequence: u64,
pub summary: String,
pub goal: String,
pub error_mean: f64,
pub timestamp: UtcTimestamp,
pub priority: f64,
}Expand description
Data structure representing case.
Fields§
§sequence: u64Stable identity within a case memory; used to update the exact sampled entry.
summary: StringSummary for this value.
goal: StringGoal for this value.
error_mean: f64Error mean for this value.
timestamp: UtcTimestampTime at which the timestamp occurred.
priority: f64Replay priority; higher = more likely to keep & sample.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Case
impl<'de> Deserialize<'de> for Case
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 Forget for Case
impl Freeze for Case
impl Move for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnsafeUnpin for Casewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for Case
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