pub struct RunRequest {
pub run_id: Option<RunId>,
pub prompt: String,
pub session_id: Option<SessionId>,
pub agent_id: Option<AgentId>,
pub parent_run_id: Option<RunId>,
pub workspace: Option<PathBuf>,
pub caller: CallerContext,
pub metadata: BTreeMap<String, Value>,
}Fields§
§run_id: Option<RunId>§prompt: String§session_id: Option<SessionId>§agent_id: Option<AgentId>§parent_run_id: Option<RunId>§workspace: Option<PathBuf>§caller: CallerContext§metadata: BTreeMap<String, Value>Implementations§
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<'de> Deserialize<'de> for RunRequest
impl<'de> Deserialize<'de> for RunRequest
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
Source§impl PartialEq for RunRequest
impl PartialEq for RunRequest
Source§impl Serialize for RunRequest
impl Serialize 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