pub struct Record {
pub task_id: usize,
pub spec_digest: String,
pub elapsed_seconds: f64,
pub work: BTreeMap<String, u64>,
pub outcome: Outcome,
}Expand description
One committed task in the result journal results.jsonl.
Fields§
§task_id: usizeThe task’s index, below the resolved task_count.
spec_digest: StringThe JobSpec::digest of the task’s job.
elapsed_seconds: f64The time the task took.
work: BTreeMap<String, u64>Named work counters, such as evaluations or iterations. Counters of different profiles measure different work.
outcome: OutcomeThe task’s outcome.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
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 Record
Auto Trait Implementations§
impl Forget for Record
impl Freeze for Record
impl Move for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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