pub struct RunRequest {
pub user_id: String,
pub parent_operation_id: Uuid,
pub model: String,
pub reasoning_effort: String,
pub context: Vec<String>,
pub task: String,
pub timeout: Option<Duration>,
pub start_metadata: Value,
}Expand description
Inputs for one complete subagent run.
Fields§
§user_id: StringStable user identifier used for router accounting.
parent_operation_id: UuidRunning parent operation whose cancellation propagates to each turn.
model: StringExact requested model selector.
reasoning_effort: StringProvider-neutral reasoning effort.
context: Vec<String>Ordered immutable context sections.
task: StringExact task presented after the context.
timeout: Option<Duration>Optional per-turn timeout.
start_metadata: ValueAdditional application metadata included in the start audit event.
Trait Implementations§
Source§impl Clone for RunRequest
impl Clone for RunRequest
Source§fn clone(&self) -> RunRequest
fn clone(&self) -> RunRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RunRequest
impl Debug for RunRequest
Source§impl PartialEq for RunRequest
impl PartialEq for RunRequest
impl StructuralPartialEq for RunRequest
Auto Trait Implementations§
impl Freeze for RunRequest
impl RefUnwindSafe for RunRequest
impl Send for RunRequest
impl Sync for RunRequest
impl Unpin for RunRequest
impl UnsafeUnpin for RunRequest
impl UnwindSafe for RunRequest
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