pub struct ThreadInfoDto {
pub id: u64,
pub label: String,
pub description: Option<String>,
pub status: Option<String>,
pub kind_icon: Option<String>,
pub status_icon: Option<String>,
pub is_foreground: bool,
pub message_count: usize,
pub has_summary: bool,
}Expand description
DTO for thread info in updates (unified tasks + threads). NOTE: Do NOT use skip_serializing_if with bincode - it breaks deserialization since bincode is not self-describing (positional format).
Fields§
§id: u64§label: String§description: Option<String>Description (for spawned tasks)
status: Option<String>Task status (None = simple thread, Some = spawned task)
kind_icon: Option<String>Icon for the thread kind (e.g. chat, sub-agent, background, task)
status_icon: Option<String>Icon for the thread status (e.g. running, completed, failed)
is_foreground: bool§message_count: usize§has_summary: boolTrait Implementations§
Source§impl Clone for ThreadInfoDto
impl Clone for ThreadInfoDto
Source§fn clone(&self) -> ThreadInfoDto
fn clone(&self) -> ThreadInfoDto
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 ThreadInfoDto
impl Debug for ThreadInfoDto
Source§impl<'de> Deserialize<'de> for ThreadInfoDto
impl<'de> Deserialize<'de> for ThreadInfoDto
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
Source§impl PartialEq for ThreadInfoDto
impl PartialEq for ThreadInfoDto
Source§impl Serialize for ThreadInfoDto
impl Serialize for ThreadInfoDto
impl StructuralPartialEq for ThreadInfoDto
Auto Trait Implementations§
impl Freeze for ThreadInfoDto
impl RefUnwindSafe for ThreadInfoDto
impl Send for ThreadInfoDto
impl Sync for ThreadInfoDto
impl Unpin for ThreadInfoDto
impl UnsafeUnpin for ThreadInfoDto
impl UnwindSafe for ThreadInfoDto
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