pub struct ConversationTurn {
pub turn_number: usize,
pub content: String,
pub role: String,
pub task_info: Option<TaskInfo>,
}
Expand description
Information about a conversation turn
Fields§
§turn_number: usize
§content: String
§role: String
§task_info: Option<TaskInfo>
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 moreAuto 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