pub struct LogicalTaskState {
pub goal: String,
pub criteria: Vec<String>,
pub plan: Vec<LogicalPlanStep>,
pub current_step: Option<u32>,
pub progress: String,
pub scratchpad: String,
pub blocked_on: Vec<String>,
pub directives: Vec<String>,
pub preserved_refs: Vec<String>,
pub recent_actions: Vec<String>,
pub compression_log: Vec<LogicalCompressionEntry>,
pub compression_log_dropped: WireU64,
}Expand description
§12.1 · the durable task board, projected.
Explicitly re-declared rather than reusing crate::context::task_state::TaskState: that type is
semantic-kernel state whose serde shape is free to move, and §12.1’s first rule is that a field
added there must not silently change the checkpoint format.
Fields§
§goal: String§criteria: Vec<String>§plan: Vec<LogicalPlanStep>§current_step: Option<u32>§progress: String§scratchpad: String§blocked_on: Vec<String>§directives: Vec<String>§preserved_refs: Vec<String>§recent_actions: Vec<String>§compression_log: Vec<LogicalCompressionEntry>§compression_log_dropped: WireU64Trait Implementations§
Source§impl Clone for LogicalTaskState
impl Clone for LogicalTaskState
Source§fn clone(&self) -> LogicalTaskState
fn clone(&self) -> LogicalTaskState
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 LogicalTaskState
impl Debug for LogicalTaskState
Source§impl Default for LogicalTaskState
impl Default for LogicalTaskState
Source§fn default() -> LogicalTaskState
fn default() -> LogicalTaskState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogicalTaskState
impl<'de> Deserialize<'de> for LogicalTaskState
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 LogicalTaskState
impl PartialEq for LogicalTaskState
Source§impl Serialize for LogicalTaskState
impl Serialize for LogicalTaskState
impl StructuralPartialEq for LogicalTaskState
Auto Trait Implementations§
impl Freeze for LogicalTaskState
impl RefUnwindSafe for LogicalTaskState
impl Send for LogicalTaskState
impl Sync for LogicalTaskState
impl Unpin for LogicalTaskState
impl UnsafeUnpin for LogicalTaskState
impl UnwindSafe for LogicalTaskState
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