pub struct TaskShellProgress {
pub pid: Option<i64>,
pub recent_output: String,
pub type: TaskShellProgressType,
}Expand description
Schema for the TaskShellProgress 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§
§pid: Option<i64>Process ID when available
recent_output: StringRecent stdout/stderr lines from the running shell command
type: TaskShellProgressTypeProgress kind
Trait Implementations§
Source§impl Clone for TaskShellProgress
impl Clone for TaskShellProgress
Source§fn clone(&self) -> TaskShellProgress
fn clone(&self) -> TaskShellProgress
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 TaskShellProgress
impl Debug for TaskShellProgress
Source§impl Default for TaskShellProgress
impl Default for TaskShellProgress
Source§fn default() -> TaskShellProgress
fn default() -> TaskShellProgress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskShellProgress
impl<'de> Deserialize<'de> for TaskShellProgress
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 TaskShellProgress
impl RefUnwindSafe for TaskShellProgress
impl Send for TaskShellProgress
impl Sync for TaskShellProgress
impl Unpin for TaskShellProgress
impl UnsafeUnpin for TaskShellProgress
impl UnwindSafe for TaskShellProgress
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