pub struct TaskStateBase {Show 16 fields
pub id: String,
pub task_type: TaskType,
pub status: TaskStatus,
pub description: String,
pub tool_use_id: Option<String>,
pub start_time: u64,
pub end_time: Option<u64>,
pub total_paused_ms: Option<u64>,
pub output_file: String,
pub output_offset: u64,
pub notified: bool,
pub retain: Option<bool>,
pub evict_after: Option<u64>,
pub messages: Option<String>,
pub disk_loaded: Option<bool>,
pub pending_messages: Option<Vec<String>>,
}Expand description
Base task state
Fields§
§id: String§task_type: TaskType§status: TaskStatus§description: String§tool_use_id: Option<String>§start_time: u64§end_time: Option<u64>§total_paused_ms: Option<u64>§output_file: String§output_offset: u64§notified: bool§retain: Option<bool>§evict_after: Option<u64>§messages: Option<String>§disk_loaded: Option<bool>§pending_messages: Option<Vec<String>>Trait Implementations§
Source§impl Clone for TaskStateBase
impl Clone for TaskStateBase
Source§fn clone(&self) -> TaskStateBase
fn clone(&self) -> TaskStateBase
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 moreAuto Trait Implementations§
impl Freeze for TaskStateBase
impl RefUnwindSafe for TaskStateBase
impl Send for TaskStateBase
impl Sync for TaskStateBase
impl Unpin for TaskStateBase
impl UnsafeUnpin for TaskStateBase
impl UnwindSafe for TaskStateBase
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