#[non_exhaustive]pub struct SubagentUpdate {
pub index: usize,
pub run_id: SubagentRunId,
pub change: SubagentChangeKind,
pub subagent: Subagent,
}Expand description
A subagent that changed, and the subagent as it now stands.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: usizeIndex into Thread::subagents.
run_id: SubagentRunIdThe invocation’s id — what the messages it produced carry.
change: SubagentChangeKindWhat this event did to it.
subagent: SubagentThe whole entry, status included.
Trait Implementations§
Source§impl Clone for SubagentUpdate
impl Clone for SubagentUpdate
Source§impl Debug for SubagentUpdate
impl Debug for SubagentUpdate
Source§impl PartialEq for SubagentUpdate
impl PartialEq for SubagentUpdate
impl StructuralPartialEq for SubagentUpdate
Auto Trait Implementations§
impl Freeze for SubagentUpdate
impl RefUnwindSafe for SubagentUpdate
impl Send for SubagentUpdate
impl Sync for SubagentUpdate
impl Unpin for SubagentUpdate
impl UnsafeUnpin for SubagentUpdate
impl UnwindSafe for SubagentUpdate
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