pub struct PreparedRun {
pub orchestrator: Arc<Orchestrator>,
pub workflows: Arc<WorkflowRegistry>,
pub actor: ActorContext,
pub conversation_id: ConversationId,
pub turn_id: TurnId,
}Expand description
One item’s world, freshly built for one sample.
Every sample gets its own: two samples that shared a store would be measuring the second one against the first one’s effects.
Fields§
§orchestrator: Arc<Orchestrator>The runtime under test.
workflows: Arc<WorkflowRegistry>The workflows it was built with, so the runner can read a case’s revision back without knowing the domain types.
actor: ActorContextWho takes the turn.
conversation_id: ConversationIdThe conversation the turn belongs to. The harness must have created it.
turn_id: TurnIdThe identifier the turn will carry.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedRun
impl !UnwindSafe for PreparedRun
impl Freeze for PreparedRun
impl Send for PreparedRun
impl Sync for PreparedRun
impl Unpin for PreparedRun
impl UnsafeUnpin for PreparedRun
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