pub struct ExecResponse {
pub observations: Vec<String>,
pub observation_truncation: Vec<TextProjectionMetadata>,
pub tool_calls: Vec<ToolCallRecord>,
pub images: Vec<ExecImage>,
pub printed_images: Vec<AttachmentRef>,
pub error: Option<String>,
pub duration_ms: u64,
pub terminal_finish: Option<Value>,
}Fields§
§observations: Vec<String>§observation_truncation: Vec<TextProjectionMetadata>§tool_calls: Vec<ToolCallRecord>§images: Vec<ExecImage>§printed_images: Vec<AttachmentRef>§error: Option<String>§duration_ms: u64§terminal_finish: Option<Value>When the surrounding session uses protocol-specific finish behavior,
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 moreSource§impl Debug for ExecResponse
impl Debug for ExecResponse
Source§impl<'de> Deserialize<'de> for ExecResponse
impl<'de> Deserialize<'de> for ExecResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ExecResponse
impl Serialize for ExecResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto 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