pub struct TaskShellInfo {
pub attachment_mode: TaskShellInfoAttachmentMode,
pub can_promote_to_background: Option<bool>,
pub command: String,
pub completed_at: Option<String>,
pub description: String,
pub execution_mode: Option<TaskExecutionMode>,
pub id: String,
pub log_path: Option<String>,
pub pid: Option<i64>,
pub started_at: String,
pub status: TaskStatus,
pub type: TaskShellInfoType,
}Expand description
Schema for the TaskShellInfo type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§attachment_mode: TaskShellInfoAttachmentModeWhether the shell runs inside a managed PTY session or as an independent background process
can_promote_to_background: Option<bool>Whether this shell task can be promoted to background mode
command: StringCommand being executed
completed_at: Option<String>ISO 8601 timestamp when the task finished
description: StringShort description of the task
execution_mode: Option<TaskExecutionMode>Whether task execution is synchronously awaited or managed in the background
id: StringUnique task identifier
log_path: Option<String>Path to the detached shell log, when available
pid: Option<i64>Process ID when available
started_at: StringISO 8601 timestamp when the task was started
status: TaskStatusCurrent lifecycle status of the task
type: TaskShellInfoTypeTask kind
Trait Implementations§
Source§impl Clone for TaskShellInfo
impl Clone for TaskShellInfo
Source§fn clone(&self) -> TaskShellInfo
fn clone(&self) -> TaskShellInfo
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 TaskShellInfo
impl Debug for TaskShellInfo
Source§impl Default for TaskShellInfo
impl Default for TaskShellInfo
Source§fn default() -> TaskShellInfo
fn default() -> TaskShellInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskShellInfo
impl<'de> Deserialize<'de> for TaskShellInfo
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 TaskShellInfo
impl RefUnwindSafe for TaskShellInfo
impl Send for TaskShellInfo
impl Sync for TaskShellInfo
impl Unpin for TaskShellInfo
impl UnsafeUnpin for TaskShellInfo
impl UnwindSafe for TaskShellInfo
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