pub struct SubagentResult {
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub agent_type: String,
pub model: Option<String>,
pub final_message: String,
pub usage: Option<TokenUsage>,
pub exit_reason: SubagentExitReason,
pub transcript: Option<Value>,
pub metadata: Value,
}Fields§
§thread_id: ThreadId§turn_id: TurnId§agent_type: String§model: Option<String>§final_message: String§usage: Option<TokenUsage>§exit_reason: SubagentExitReason§transcript: Option<Value>§metadata: ValueTrait Implementations§
Source§impl Clone for SubagentResult
impl Clone for SubagentResult
Source§fn clone(&self) -> SubagentResult
fn clone(&self) -> SubagentResult
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 SubagentResult
impl Debug for SubagentResult
Source§impl<'de> Deserialize<'de> for SubagentResult
impl<'de> Deserialize<'de> for SubagentResult
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
Source§impl PartialEq for SubagentResult
impl PartialEq for SubagentResult
Source§fn eq(&self, other: &SubagentResult) -> bool
fn eq(&self, other: &SubagentResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubagentResult
impl Serialize for SubagentResult
impl StructuralPartialEq for SubagentResult
Auto Trait Implementations§
impl Freeze for SubagentResult
impl RefUnwindSafe for SubagentResult
impl Send for SubagentResult
impl Sync for SubagentResult
impl Unpin for SubagentResult
impl UnsafeUnpin for SubagentResult
impl UnwindSafe for SubagentResult
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