pub struct Session {
pub id: String,
pub ended: bool,
pub checks: u32,
pub tally: [(u32, u32); 5],
pub had: Vec<u32>,
pub tested: bool,
}Expand description
One session, in tick order.
Fields§
§id: String§ended: boolEnded (its first end record, module doc).
checks: u32Its graded checks, applies or not: what its pools cost (select/policy.rs price).
tally: [(u32, u32); 5]FREE_STOP to ASK_LIVE: (applies, delivered).
had: Vec<u32>The lessons shown to it so far (Summary::lessons), sorted (module doc: what a session had).
tested: boolA check of it drew the question-count test’s count: counted once in Experiment::sessions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Session
impl<'de> Deserialize<'de> for Session
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 Session
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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