pub struct ParsedCodexSession {
pub session_id: String,
pub cli_version: Option<String>,
pub cwd: String,
pub git_branch: Option<String>,
pub model_provider: Option<String>,
pub messages: Vec<ParsedCodexMessage>,
pub source_path: String,
}Expand description
Intermediate representation of a parsed Codex session.
Fields§
§session_id: String§cli_version: Option<String>§cwd: String§git_branch: Option<String>§model_provider: Option<String>§messages: Vec<ParsedCodexMessage>§source_path: StringImplementations§
Source§impl ParsedCodexSession
impl ParsedCodexSession
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 ParsedCodexSession
impl RefUnwindSafe for ParsedCodexSession
impl Send for ParsedCodexSession
impl Sync for ParsedCodexSession
impl Unpin for ParsedCodexSession
impl UnwindSafe for ParsedCodexSession
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