pub struct ExternalToolTextResultForLlmContentShellExit {
pub cwd: Option<String>,
pub exit_code: i64,
pub output_preview: Option<String>,
pub output_truncated: Option<bool>,
pub shell_id: String,
pub type: ExternalToolTextResultForLlmContentShellExitType,
}Expand description
Shell command exit metadata with optional output preview
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
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: ExternalToolTextResultForLlmContentShellExitTypeContent block type discriminator
Trait Implementations§
Source§impl Clone for ExternalToolTextResultForLlmContentShellExit
impl Clone for ExternalToolTextResultForLlmContentShellExit
Source§fn clone(&self) -> ExternalToolTextResultForLlmContentShellExit
fn clone(&self) -> ExternalToolTextResultForLlmContentShellExit
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 ExternalToolTextResultForLlmContentShellExit
impl Default for ExternalToolTextResultForLlmContentShellExit
Source§fn default() -> ExternalToolTextResultForLlmContentShellExit
fn default() -> ExternalToolTextResultForLlmContentShellExit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalToolTextResultForLlmContentShellExit
impl<'de> Deserialize<'de> for ExternalToolTextResultForLlmContentShellExit
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 ExternalToolTextResultForLlmContentShellExit
impl RefUnwindSafe for ExternalToolTextResultForLlmContentShellExit
impl Send for ExternalToolTextResultForLlmContentShellExit
impl Sync for ExternalToolTextResultForLlmContentShellExit
impl Unpin for ExternalToolTextResultForLlmContentShellExit
impl UnsafeUnpin for ExternalToolTextResultForLlmContentShellExit
impl UnwindSafe for ExternalToolTextResultForLlmContentShellExit
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