pub struct ParallelStepResult {
pub step_id: String,
pub step_number: u32,
pub status: String,
pub summary: String,
pub key_findings: Option<Vec<String>>,
pub error: Option<String>,
pub data: Option<Value>,
}Expand description
Result of a single parallel step execution, emitted as structured JSON so the frontend can render it dynamically in the user’s language.
Fields§
§step_id: String§step_number: u32§status: String§summary: StringBrief summary of what this step did (in the LLM’s language).
key_findings: Option<Vec<String>>§error: Option<String>§data: Option<Value>Implementations§
Source§impl ParallelStepResult
impl ParallelStepResult
Sourcepub fn build_envelope(results: Vec<ParallelStepResult>) -> Value
pub fn build_envelope(results: Vec<ParallelStepResult>) -> Value
Build the full parallel-results JSON envelope injected into history.
Trait Implementations§
Source§impl Clone for ParallelStepResult
impl Clone for ParallelStepResult
Source§fn clone(&self) -> ParallelStepResult
fn clone(&self) -> ParallelStepResult
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 ParallelStepResult
impl Debug for ParallelStepResult
Source§impl<'de> Deserialize<'de> for ParallelStepResult
impl<'de> Deserialize<'de> for ParallelStepResult
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 ParallelStepResult
impl RefUnwindSafe for ParallelStepResult
impl Send for ParallelStepResult
impl Sync for ParallelStepResult
impl Unpin for ParallelStepResult
impl UnsafeUnpin for ParallelStepResult
impl UnwindSafe for ParallelStepResult
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