pub struct GeminiCliFormat;Expand description
Gemini CLI session log format (JSON with messages array).
Trait Implementations§
Source§impl LogFormat for GeminiCliFormat
impl LogFormat for GeminiCliFormat
Source§fn sessions_dir(&self, _project: Option<&Path>) -> PathBuf
fn sessions_dir(&self, _project: Option<&Path>) -> PathBuf
Get the sessions directory for this format.
Does NOT check if the directory exists - that’s handled by list_sessions.
Source§fn list_sessions(&self, project: Option<&Path>) -> Vec<SessionFile>
fn list_sessions(&self, project: Option<&Path>) -> Vec<SessionFile>
List all session files for this format.
Auto Trait Implementations§
impl Freeze for GeminiCliFormat
impl RefUnwindSafe for GeminiCliFormat
impl Send for GeminiCliFormat
impl Sync for GeminiCliFormat
impl Unpin for GeminiCliFormat
impl UnwindSafe for GeminiCliFormat
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