pub struct ParallelGroupRecord {
pub all_loop_ids: Vec<String>,
pub selected_loop_id: String,
pub selected_config_index: usize,
pub evaluation_usage: Usage,
pub is_selected: bool,
}Expand description
Links a LoopRecord to its evaluational-parallelism group.
All branches in the same agent_loop_parallel call share identical
all_loop_ids / selected_loop_id values — only is_selected differs.
Fields§
§all_loop_ids: Vec<String>All branch loop_ids in config order (matches ParallelLoopStart.loop_ids).
selected_loop_id: StringThe loop_id selected as winner by the evaluation strategy.
selected_config_index: usize0-based index into the original configs slice of the winning branch.
evaluation_usage: UsageToken usage incurred by the judge LLM (zero for non-judge strategies).
is_selected: booltrue if this LoopRecord is the evaluation winner.
Trait Implementations§
Source§impl Clone for ParallelGroupRecord
impl Clone for ParallelGroupRecord
Source§fn clone(&self) -> ParallelGroupRecord
fn clone(&self) -> ParallelGroupRecord
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 ParallelGroupRecord
impl Debug for ParallelGroupRecord
Source§impl<'de> Deserialize<'de> for ParallelGroupRecord
impl<'de> Deserialize<'de> for ParallelGroupRecord
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 ParallelGroupRecord
impl RefUnwindSafe for ParallelGroupRecord
impl Send for ParallelGroupRecord
impl Sync for ParallelGroupRecord
impl Unpin for ParallelGroupRecord
impl UnsafeUnpin for ParallelGroupRecord
impl UnwindSafe for ParallelGroupRecord
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