pub struct HistorySession {
pub session_id: String,
pub title: Option<String>,
pub cwd: Option<String>,
pub model: Option<String>,
pub message_count: u64,
pub completed_turn_count: Option<u64>,
pub total_tokens: u64,
pub total_tokens_observed: bool,
pub messages: Vec<HistoryMessage>,
}Fields§
§session_id: String§title: Option<String>§cwd: Option<String>§model: Option<String>§message_count: u64§completed_turn_count: Option<u64>§total_tokens: u64§total_tokens_observed: bool§messages: Vec<HistoryMessage>Trait Implementations§
Source§impl Clone for HistorySession
impl Clone for HistorySession
Source§impl Debug for HistorySession
impl Debug for HistorySession
impl Eq for HistorySession
Source§impl PartialEq for HistorySession
impl PartialEq for HistorySession
impl StructuralPartialEq for HistorySession
Auto Trait Implementations§
impl Freeze for HistorySession
impl RefUnwindSafe for HistorySession
impl Send for HistorySession
impl Sync for HistorySession
impl Unpin for HistorySession
impl UnsafeUnpin for HistorySession
impl UnwindSafe for HistorySession
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