pub struct ConversationTurn {
pub turn_number: usize,
pub timestamp: u64,
pub user_input: Option<String>,
pub agent_response: Option<String>,
pub tool_calls: Vec<ToolCallInfo>,
pub decision: Option<DecisionInfo>,
}Expand description
Conversation turn information
Fields§
§turn_number: usize§timestamp: u64§user_input: Option<String>§agent_response: Option<String>§tool_calls: Vec<ToolCallInfo>§decision: Option<DecisionInfo>Trait Implementations§
Source§impl Clone for ConversationTurn
impl Clone for ConversationTurn
Source§fn clone(&self) -> ConversationTurn
fn clone(&self) -> ConversationTurn
Returns a duplicate of the value. Read more
1.0.0 · 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 ConversationTurn
impl Debug for ConversationTurn
Source§impl<'de> Deserialize<'de> for ConversationTurn
impl<'de> Deserialize<'de> for ConversationTurn
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 ConversationTurn
impl RefUnwindSafe for ConversationTurn
impl Send for ConversationTurn
impl Sync for ConversationTurn
impl Unpin for ConversationTurn
impl UnwindSafe for ConversationTurn
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