pub struct CheckpointEntry {
pub section: Section,
pub task_id: String,
pub model: String,
pub trial_index: u32,
pub trial: TrialResult,
pub verdict: JudgeResult,
}Expand description
One line in the checkpoint JSONL.
Fields§
§section: Section§task_id: String§model: String§trial_index: u32§trial: TrialResult§verdict: JudgeResultTrait Implementations§
Source§impl Clone for CheckpointEntry
impl Clone for CheckpointEntry
Source§fn clone(&self) -> CheckpointEntry
fn clone(&self) -> CheckpointEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckpointEntry
impl Debug for CheckpointEntry
Source§impl<'de> Deserialize<'de> for CheckpointEntry
impl<'de> Deserialize<'de> for CheckpointEntry
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 CheckpointEntry
impl RefUnwindSafe for CheckpointEntry
impl Send for CheckpointEntry
impl Sync for CheckpointEntry
impl Unpin for CheckpointEntry
impl UnsafeUnpin for CheckpointEntry
impl UnwindSafe for CheckpointEntry
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