pub struct LogFilter {
pub tool: Option<String>,
pub model: Option<String>,
pub since: Option<String>,
pub before: Option<String>,
pub touches: Option<String>,
pub grep: Option<String>,
pub has_errors: Option<bool>,
pub working_directory: Option<String>,
pub git_repo_name: Option<String>,
pub commit: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Extended filter for the log command.
Fields§
§tool: Option<String>Filter by tool name (exact match).
model: Option<String>Filter by model (glob-like, uses LIKE).
since: Option<String>Filter sessions created after this ISO8601 timestamp.
before: Option<String>Filter sessions created before this ISO8601 timestamp.
touches: Option<String>Filter sessions that touched this file path (searches files_modified JSON).
grep: Option<String>Free-text search in title, description, tags.
has_errors: Option<bool>Only sessions with errors.
working_directory: Option<String>Filter by working directory (prefix match).
git_repo_name: Option<String>Filter by git repo name.
commit: Option<String>Filter sessions linked to this git commit hash.
limit: Option<u32>Maximum number of results.
offset: Option<u32>Offset for pagination.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogFilter
impl RefUnwindSafe for LogFilter
impl Send for LogFilter
impl Sync for LogFilter
impl Unpin for LogFilter
impl UnwindSafe for LogFilter
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