pub struct AgentCompletedPayload {
pub agent_id: String,
pub role: String,
pub had_error: bool,
pub duration_ms: u64,
}Expand description
A sub-agent finished.
Fields§
§agent_id: String§role: String§had_error: bool§duration_ms: u64Trait Implementations§
Source§impl Clone for AgentCompletedPayload
impl Clone for AgentCompletedPayload
Source§impl Debug for AgentCompletedPayload
impl Debug for AgentCompletedPayload
Source§impl JsonSchema for AgentCompletedPayload
impl JsonSchema for AgentCompletedPayload
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 moreAuto Trait Implementations§
impl Forget for AgentCompletedPayload
impl Freeze for AgentCompletedPayload
impl Move for AgentCompletedPayload
impl RefUnwindSafe for AgentCompletedPayload
impl Send for AgentCompletedPayloadwhere
RawVecInner: Send,
impl Sync for AgentCompletedPayloadwhere
RawVecInner: Sync,
impl Unpin for AgentCompletedPayload
impl UnsafeUnpin for AgentCompletedPayload
impl UnwindSafe for AgentCompletedPayloadwhere
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