pub struct SessionIndexRecord {
pub schema_version: u8,
pub session_id: String,
pub event: SessionIndexEventKind,
pub timestamp: DateTime<Utc>,
pub cwd: Option<PathBuf>,
pub profile: Option<String>,
pub model: Option<String>,
pub duration_ms: Option<u64>,
pub turns: Option<usize>,
pub tags: Vec<String>,
pub note: Option<String>,
}Fields§
§schema_version: u8§session_id: String§event: SessionIndexEventKind§timestamp: DateTime<Utc>§cwd: Option<PathBuf>§profile: Option<String>§model: Option<String>§duration_ms: Option<u64>§turns: Option<usize>§note: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SessionIndexRecord
impl Clone for SessionIndexRecord
Source§impl Debug for SessionIndexRecord
impl Debug for SessionIndexRecord
Source§impl<'de> Deserialize<'de> for SessionIndexRecord
impl<'de> Deserialize<'de> for SessionIndexRecord
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
Source§impl PartialEq for SessionIndexRecord
impl PartialEq for SessionIndexRecord
Source§impl Serialize for SessionIndexRecord
impl Serialize for SessionIndexRecord
impl StructuralPartialEq for SessionIndexRecord
Auto Trait Implementations§
impl Freeze for SessionIndexRecord
impl RefUnwindSafe for SessionIndexRecord
impl Send for SessionIndexRecord
impl Sync for SessionIndexRecord
impl Unpin for SessionIndexRecord
impl UnsafeUnpin for SessionIndexRecord
impl UnwindSafe for SessionIndexRecord
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