pub struct TaskUpdate {
pub plan: Option<Vec<String>>,
pub current_step: Option<usize>,
pub progress: Option<String>,
pub scratchpad: Option<String>,
pub blocked_on: Option<Vec<String>>,
pub preserved_refs: Option<Vec<String>>,
pub directives: Option<Vec<String>>,
}Expand description
Partial update applied by the SDK or via update_plan meta-tool.
Fields§
§plan: Option<Vec<String>>§current_step: Option<usize>§progress: Option<String>§scratchpad: Option<String>§blocked_on: Option<Vec<String>>§preserved_refs: Option<Vec<String>>§directives: Option<Vec<String>>Replace the durable directive list wholesale (SDK/model curation).
Trait Implementations§
Source§impl Clone for TaskUpdate
impl Clone for TaskUpdate
Source§fn clone(&self) -> TaskUpdate
fn clone(&self) -> TaskUpdate
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 TaskUpdate
impl Debug for TaskUpdate
Source§impl Default for TaskUpdate
impl Default for TaskUpdate
Source§fn default() -> TaskUpdate
fn default() -> TaskUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskUpdate
impl<'de> Deserialize<'de> for TaskUpdate
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 TaskUpdate
impl RefUnwindSafe for TaskUpdate
impl Send for TaskUpdate
impl Sync for TaskUpdate
impl Unpin for TaskUpdate
impl UnsafeUnpin for TaskUpdate
impl UnwindSafe for TaskUpdate
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