pub struct Checked {
pub check: String,
pub stop_ms: i64,
pub done_ms: i64,
pub asks: Vec<String>,
pub free: Vec<String>,
pub failed: bool,
pub dur_ms: u64,
pub superseded: Vec<String>,
}Expand description
What a detached check did, <state>/<s>.checked, overwritten whole by each (finish). No prompt
data: ids, times, whether the call failed.
Fields§
§check: String§stop_ms: i64§done_ms: i64§asks: Vec<String>The lessons it queued as asks, and as free hand-overs.
free: Vec<String>§failed: boolThe model gave no answer (fail open: nothing asked, the pending lessons stay pending).
dur_ms: u64The model call’s duration.
superseded: Vec<String>Waiting asks of earlier checks it took off the queue (hook.rs supersede).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Checked
impl<'de> Deserialize<'de> for Checked
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
impl StructuralPartialEq for Checked
Auto Trait Implementations§
impl Freeze for Checked
impl RefUnwindSafe for Checked
impl Send for Checked
impl Sync for Checked
impl Unpin for Checked
impl UnsafeUnpin for Checked
impl UnwindSafe for Checked
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