pub struct ExecResponse {
pub output: String,
pub observations: Vec<String>,
pub observation_truncation: Vec<TextProjectionMetadata>,
pub tool_calls: Vec<ToolCallRecord>,
pub images: Vec<RlmPrintImage>,
pub printed_images: Vec<AttachmentRef>,
pub error: Option<String>,
pub duration_ms: u64,
pub terminal_finish: Option<Value>,
}Fields§
§output: String§observations: Vec<String>§observation_truncation: Vec<TextProjectionMetadata>§tool_calls: Vec<ToolCallRecord>§images: Vec<RlmPrintImage>§printed_images: Vec<AttachmentRef>§error: Option<String>§duration_ms: u64§terminal_finish: Option<Value>When the surrounding session uses mode-specific finish,
this carries the value the lashlang program ended with via
submit <expr>. The dispatch loop uses it as the terminal
result of the session. None for chat-style sessions and for
typed sessions whose step continued without finishing.
Trait Implementations§
Source§impl Clone for ExecResponse
impl Clone for ExecResponse
Source§fn clone(&self) -> ExecResponse
fn clone(&self) -> ExecResponse
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 moreAuto Trait Implementations§
impl Freeze for ExecResponse
impl RefUnwindSafe for ExecResponse
impl Send for ExecResponse
impl Sync for ExecResponse
impl Unpin for ExecResponse
impl UnsafeUnpin for ExecResponse
impl UnwindSafe for ExecResponse
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