pub struct ParsedGeminiSession {
pub session_id: String,
pub project_hash: Option<String>,
pub start_time: Option<DateTime<Utc>>,
pub last_updated: Option<DateTime<Utc>>,
pub messages: Vec<ParsedGeminiMessage>,
pub source_path: String,
}Expand description
Intermediate representation of a parsed Gemini session.
Fields§
§session_id: String§project_hash: Option<String>§start_time: Option<DateTime<Utc>>§last_updated: Option<DateTime<Utc>>§messages: Vec<ParsedGeminiMessage>§source_path: StringImplementations§
Source§impl ParsedGeminiSession
impl ParsedGeminiSession
Sourcepub fn to_storage_models(&self) -> (Session, Vec<Message>)
pub fn to_storage_models(&self) -> (Session, Vec<Message>)
Converts this parsed session to storage-ready models.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedGeminiSession
impl RefUnwindSafe for ParsedGeminiSession
impl Send for ParsedGeminiSession
impl Sync for ParsedGeminiSession
impl Unpin for ParsedGeminiSession
impl UnsafeUnpin for ParsedGeminiSession
impl UnwindSafe for ParsedGeminiSession
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