pub struct ToolExecutionCompleteContentShellExit {
pub cwd: Option<String>,
pub exit_code: i64,
pub output_preview: Option<String>,
pub output_truncated: Option<bool>,
pub shell_id: String,
pub type: ToolExecutionCompleteContentShellExitType,
}Expand description
Shell command exit metadata with optional output preview
Fields§
§cwd: Option<String>Working directory where the shell command was executed
exit_code: i64Exit code from the completed shell command
output_preview: Option<String>Output associated with this shell command, if available. May be partial, truncated, or a preview; not guaranteed to be full output.
output_truncated: Option<bool>Whether outputPreview is known to be incomplete or truncated
shell_id: StringShell id, as assigned by Copilot runtime
type: ToolExecutionCompleteContentShellExitTypeContent block type discriminator
Trait Implementations§
Source§impl Clone for ToolExecutionCompleteContentShellExit
impl Clone for ToolExecutionCompleteContentShellExit
Source§fn clone(&self) -> ToolExecutionCompleteContentShellExit
fn clone(&self) -> ToolExecutionCompleteContentShellExit
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 Default for ToolExecutionCompleteContentShellExit
impl Default for ToolExecutionCompleteContentShellExit
Source§fn default() -> ToolExecutionCompleteContentShellExit
fn default() -> ToolExecutionCompleteContentShellExit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolExecutionCompleteContentShellExit
impl<'de> Deserialize<'de> for ToolExecutionCompleteContentShellExit
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 ToolExecutionCompleteContentShellExit
impl RefUnwindSafe for ToolExecutionCompleteContentShellExit
impl Send for ToolExecutionCompleteContentShellExit
impl Sync for ToolExecutionCompleteContentShellExit
impl Unpin for ToolExecutionCompleteContentShellExit
impl UnsafeUnpin for ToolExecutionCompleteContentShellExit
impl UnwindSafe for ToolExecutionCompleteContentShellExit
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