pub struct SplitV1 {
pub header: Value,
pub runs: Vec<(String, Value)>,
pub duplicate_run_ids: Vec<String>,
}Expand description
A 1.0 body split into its 2.0 parts. See split_v1.
Fields§
§header: ValueThe 2.0 header: the body without runs, schema set to
evalhub.eval/2.0.
runs: Vec<(String, Value)>One (run_id, run) per distinct run_id, in the order each id first
appears in runs[]; for a repeated id, the run is the last
element carrying it. Each run is a 2.0 run body, materialised.
duplicate_run_ids: Vec<String>Every run_id that appeared more than once in runs[], once each,
in the order of first appearance. Empty for a body without
duplicates. The conversion does not fail on them (0.1.x accepted
such bodies, and the migration must convert what is stored); the
caller decides whether to report, log or audit them.
Trait Implementations§
impl StructuralPartialEq for SplitV1
Auto Trait Implementations§
impl Freeze for SplitV1
impl RefUnwindSafe for SplitV1
impl Send for SplitV1
impl Sync for SplitV1
impl Unpin for SplitV1
impl UnsafeUnpin for SplitV1
impl UnwindSafe for SplitV1
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