pub struct TaskNotificationMessage {
pub session_id: String,
pub task_id: String,
pub status: TaskStatus,
pub summary: String,
pub output_file: Option<String>,
pub tool_use_id: Option<String>,
pub usage: Option<TaskUsage>,
pub uuid: Option<String>,
}Expand description
task_notification system message — emitted once when a background
task completes or fails.
Fields§
§session_id: String§task_id: String§status: TaskStatus§summary: String§output_file: Option<String>§tool_use_id: Option<String>§usage: Option<TaskUsage>§uuid: Option<String>Trait Implementations§
Source§impl Clone for TaskNotificationMessage
impl Clone for TaskNotificationMessage
Source§fn clone(&self) -> TaskNotificationMessage
fn clone(&self) -> TaskNotificationMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 TaskNotificationMessage
impl Debug for TaskNotificationMessage
Source§impl<'de> Deserialize<'de> for TaskNotificationMessage
impl<'de> Deserialize<'de> for TaskNotificationMessage
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 TaskNotificationMessage
impl RefUnwindSafe for TaskNotificationMessage
impl Send for TaskNotificationMessage
impl Sync for TaskNotificationMessage
impl Unpin for TaskNotificationMessage
impl UnsafeUnpin for TaskNotificationMessage
impl UnwindSafe for TaskNotificationMessage
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