pub struct FileQuery {
pub pattern: Option<String>,
pub provider: Option<Provider>,
pub session_id: Option<String>,
pub path_prefix: Option<String>,
pub exclude_path_prefixes: Vec<String>,
pub exclude_session_ids: Vec<String>,
pub since: Option<DateTime<Utc>>,
pub until: Option<DateTime<Utc>>,
pub min_edits: Option<i64>,
pub max_edits: Option<i64>,
pub limit: usize,
pub offset: usize,
}Expand description
Structured filters for the files query surface (search / cross-ref).
pattern is a glob (*/?) over the basename, or over the full path when it
contains a /. limit == 0 means unlimited; offset skips rows in the surface’s
deterministic order.
Fields§
§pattern: Option<String>§provider: Option<Provider>Restrict to one indexed session source.
session_id: Option<String>Exact canonical session ID. Prefer this when chaining from session/message search output.
path_prefix: Option<String>Restrict to sessions whose cwd, repo root, or source transcript starts with this prefix.
exclude_path_prefixes: Vec<String>Exclude edits from sessions whose cwd, repo root, or source transcript starts with a prefix. Applied before grouping, reconstruction selection, and result limits.
exclude_session_ids: Vec<String>Exclude exact canonical session IDs before grouping, reconstruction selection, and limits.
since: Option<DateTime<Utc>>§until: Option<DateTime<Utc>>§min_edits: Option<i64>§max_edits: Option<i64>§limit: usizeMaximum rows returned by file search, cross-reference, and history. Zero explicitly means unlimited and may materialize the complete filtered result.
offset: usizeRows skipped after the surface’s documented deterministic ordering.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileQuery
impl RefUnwindSafe for FileQuery
impl Send for FileQuery
impl Sync for FileQuery
impl Unpin for FileQuery
impl UnsafeUnpin for FileQuery
impl UnwindSafe for FileQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more