pub struct RunRef {
pub id: String,
pub task: Option<String>,
pub outcome: Option<Outcome>,
pub n_steps: usize,
}Expand description
A lightweight handle to a run — enough to label a side in the UI without re-embedding the whole trajectory.
Fields§
§id: String§task: Option<String>§outcome: Option<Outcome>§n_steps: usizeNumber of steps in the run.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunRef
impl<'de> Deserialize<'de> for RunRef
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 RunRef
Auto Trait Implementations§
impl Freeze for RunRef
impl RefUnwindSafe for RunRef
impl Send for RunRef
impl Sync for RunRef
impl Unpin for RunRef
impl UnsafeUnpin for RunRef
impl UnwindSafe for RunRef
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