pub struct CommandRequest {
pub command: AgentCommand,
pub context_generation: Option<ContextGeneration>,
pub llm_plan: Option<LlmExecutionPlan>,
pub base_checkpoint: Option<CheckpointReference>,
pub abandoned_run_id: Option<RunId>,
}Expand description
Transport admission request. Environment bindings are consumed by the composition root and do not enter the provider-neutral Runtime command.
Fields§
§command: AgentCommand§context_generation: Option<ContextGeneration>Effective prompt-context generation selected by Lion for this dispatch.
llm_plan: Option<LlmExecutionPlan>§base_checkpoint: Option<CheckpointReference>Stable Runtime checkpoint selected by Lion, absent for a new thread.
abandoned_run_id: Option<RunId>Attempt already terminalized by Lion and settled silently before new work starts.
Trait Implementations§
Source§impl Clone for CommandRequest
impl Clone for CommandRequest
Source§fn clone(&self) -> CommandRequest
fn clone(&self) -> CommandRequest
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 CommandRequest
impl Debug for CommandRequest
Source§impl<'de> Deserialize<'de> for CommandRequest
impl<'de> Deserialize<'de> for CommandRequest
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 CommandRequest
impl PartialEq for CommandRequest
Source§impl Serialize for CommandRequest
impl Serialize for CommandRequest
impl StructuralPartialEq for CommandRequest
Auto Trait Implementations§
impl Freeze for CommandRequest
impl RefUnwindSafe for CommandRequest
impl Send for CommandRequest
impl Sync for CommandRequest
impl Unpin for CommandRequest
impl UnsafeUnpin for CommandRequest
impl UnwindSafe for CommandRequest
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