#[non_exhaustive]pub struct BackgroundTerminalCompletion {
pub tool_call_id: String,
pub command: String,
pub terminal_status: String,
pub output: String,
pub output_truncated: bool,
}Expand description
backgroundTerminalCompletion: the five facts the Finished cell renders.
The fold reads them from the inbox terminal record and the backgrounded call
it names; every member is required (empty output serializes as "", never
absent).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tool_call_id: StringThe backgrounded call’s call id: the live/history correlation key behind the skip-when-minted rule.
command: StringThe title text gate-off shows for the backgrounded command.
terminal_status: StringOne of completed, failed, cancelled, timedOut, rejected.
output: StringThe completion text; empty when the terminal carries none.
output_truncated: boolTrue when output is a prefix of the terminal text.
Trait Implementations§
Source§impl Clone for BackgroundTerminalCompletion
impl Clone for BackgroundTerminalCompletion
Source§impl Debug for BackgroundTerminalCompletion
impl Debug for BackgroundTerminalCompletion
Source§impl<'de> Deserialize<'de> for BackgroundTerminalCompletion
impl<'de> Deserialize<'de> for BackgroundTerminalCompletion
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
impl Eq for BackgroundTerminalCompletion
impl StructuralPartialEq for BackgroundTerminalCompletion
Auto Trait Implementations§
impl Freeze for BackgroundTerminalCompletion
impl RefUnwindSafe for BackgroundTerminalCompletion
impl Send for BackgroundTerminalCompletion
impl Sync for BackgroundTerminalCompletion
impl Unpin for BackgroundTerminalCompletion
impl UnsafeUnpin for BackgroundTerminalCompletion
impl UnwindSafe for BackgroundTerminalCompletion
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