pub struct BackgroundHandoffNotice {
pub handed_off_agent_ids: Vec<SubagentId>,
pub reason: String,
pub message: String,
}Expand description
Notice returned when a foreground wait hands active children off to background execution.
Fields§
§handed_off_agent_ids: Vec<SubagentId>Child agent ids still running or queued in the background.
reason: StringWhy the foreground wait ended (foreground_budget_elapsed or parent_turn_interrupted).
message: StringExplicit coordinator-facing note preventing duplicate spawns.
Trait Implementations§
Source§impl Clone for BackgroundHandoffNotice
impl Clone for BackgroundHandoffNotice
Source§impl Debug for BackgroundHandoffNotice
impl Debug for BackgroundHandoffNotice
Source§impl<'de> Deserialize<'de> for BackgroundHandoffNotice
impl<'de> Deserialize<'de> for BackgroundHandoffNotice
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
impl Eq for BackgroundHandoffNotice
Source§impl JsonSchema for BackgroundHandoffNotice
impl JsonSchema for BackgroundHandoffNotice
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BackgroundHandoffNotice
impl PartialEq for BackgroundHandoffNotice
Source§impl Serialize for BackgroundHandoffNotice
impl Serialize for BackgroundHandoffNotice
impl StructuralPartialEq for BackgroundHandoffNotice
Auto Trait Implementations§
impl Forget for BackgroundHandoffNotice
impl Freeze for BackgroundHandoffNotice
impl Move for BackgroundHandoffNotice
impl RefUnwindSafe for BackgroundHandoffNotice
impl Send for BackgroundHandoffNoticewhere
RawVecInner: Send,
impl Sync for BackgroundHandoffNoticewhere
RawVecInner: Sync,
impl Unpin for BackgroundHandoffNotice
impl UnsafeUnpin for BackgroundHandoffNoticewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<SubagentId>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for BackgroundHandoffNoticewhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.