pub struct SessionHistory {
pub session_id: String,
pub checkpoint_id: String,
pub task_description: String,
pub iteration: u32,
pub total_messages: usize,
pub messages: Vec<HistoryMessage>,
}Expand description
Metadata about the session/task for the history header.
Fields§
§session_id: String§checkpoint_id: String§task_description: String§iteration: u32§total_messages: usize§messages: Vec<HistoryMessage>Trait Implementations§
Source§impl Clone for SessionHistory
impl Clone for SessionHistory
Source§fn clone(&self) -> SessionHistory
fn clone(&self) -> SessionHistory
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 SessionHistory
impl Debug for SessionHistory
Source§impl<'de> Deserialize<'de> for SessionHistory
impl<'de> Deserialize<'de> for SessionHistory
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 SessionHistory
impl RefUnwindSafe for SessionHistory
impl Send for SessionHistory
impl Sync for SessionHistory
impl Unpin for SessionHistory
impl UnsafeUnpin for SessionHistory
impl UnwindSafe for SessionHistory
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