pub struct PartialAgentOutput {
pub content: String,
pub thoughts: Option<String>,
pub failed_reason: Option<String>,
pub conversation: Option<u64>,
pub session: Option<String>,
pub model: Option<String>,
}Fields§
§content: String§thoughts: Option<String>§failed_reason: Option<String>Failure reason if execution failed. None indicates success.
conversation: Option<u64>The conversation ID.
session: Option<String>The session ID for the agent execution, if applicable. This is used to correlate related conversations or executions.
model: Option<String>The model used by the agent.
Trait Implementations§
Source§impl Clone for PartialAgentOutput
impl Clone for PartialAgentOutput
Source§fn clone(&self) -> PartialAgentOutput
fn clone(&self) -> PartialAgentOutput
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 PartialAgentOutput
impl Debug for PartialAgentOutput
Source§impl Default for PartialAgentOutput
impl Default for PartialAgentOutput
Source§fn default() -> PartialAgentOutput
fn default() -> PartialAgentOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartialAgentOutput
impl<'de> Deserialize<'de> for PartialAgentOutput
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
Auto Trait Implementations§
impl Freeze for PartialAgentOutput
impl RefUnwindSafe for PartialAgentOutput
impl Send for PartialAgentOutput
impl Sync for PartialAgentOutput
impl Unpin for PartialAgentOutput
impl UnsafeUnpin for PartialAgentOutput
impl UnwindSafe for PartialAgentOutput
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