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§
§index: usizeIndex into Session::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§fn clone(&self) -> SubagentUpdate
fn clone(&self) -> SubagentUpdate
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 SubagentUpdate
impl Debug for SubagentUpdate
Source§impl PartialEq for SubagentUpdate
impl PartialEq for SubagentUpdate
Source§fn eq(&self, other: &SubagentUpdate) -> bool
fn eq(&self, other: &SubagentUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.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