pub struct FunctionShellOutput {
pub outcome: OutputOutcome,
pub stderr: String,
pub stdout: String,
pub created_by: Option<String>,
}Expand description
The content of a shell tool call output that was emitted.
Fields§
§outcome: OutputOutcomeRepresents either an exit outcome (with an exit code) or a timeout outcome for a
stderr: StringThe standard error output that was captured.
stdout: StringThe standard output that was captured.
created_by: Option<String>The identifier of the actor that created the item.
Trait Implementations§
Source§impl Clone for FunctionShellOutput
impl Clone for FunctionShellOutput
Source§fn clone(&self) -> FunctionShellOutput
fn clone(&self) -> FunctionShellOutput
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 FunctionShellOutput
impl Debug for FunctionShellOutput
Source§impl<'de> Deserialize<'de> for FunctionShellOutput
impl<'de> Deserialize<'de> for FunctionShellOutput
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
Auto Trait Implementations§
impl Freeze for FunctionShellOutput
impl RefUnwindSafe for FunctionShellOutput
impl Send for FunctionShellOutput
impl Sync for FunctionShellOutput
impl Unpin for FunctionShellOutput
impl UnsafeUnpin for FunctionShellOutput
impl UnwindSafe for FunctionShellOutput
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