pub struct RunStartRecord {
pub schema_version: u32,
pub run_id: RunId,
pub started_unix_ms: u128,
pub metadata: RunMetadata,
}Expand description
Parsed run_start line.
§Examples
use ailloli_ui_bench::{RunId, RunMetadata, RunStartRecord, SCHEMA_VERSION};
let record = RunStartRecord {
schema_version: SCHEMA_VERSION,
run_id: RunId::new("run"),
started_unix_ms: 1,
metadata: RunMetadata::default(),
};
assert_eq!(record.schema_version, 1);Fields§
§schema_version: u32Wire schema version used to encode this record.
run_id: RunIdRun identity shared by every record in the file.
started_unix_ms: u128Run start in milliseconds since the Unix epoch.
metadata: RunMetadataInitial reproducibility metadata snapshot.
Trait Implementations§
Source§impl Clone for RunStartRecord
impl Clone for RunStartRecord
Source§fn clone(&self) -> RunStartRecord
fn clone(&self) -> RunStartRecord
Returns a copy of the value. Read more
1.0.0 · 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 RunStartRecord
impl Debug for RunStartRecord
Source§impl<'de> Deserialize<'de> for RunStartRecord
impl<'de> Deserialize<'de> for RunStartRecord
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 RunStartRecord
impl RefUnwindSafe for RunStartRecord
impl Send for RunStartRecord
impl Sync for RunStartRecord
impl Unpin for RunStartRecord
impl UnwindSafe for RunStartRecord
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