pub struct SearchParams {
pub query: Option<String>,
pub tags: Vec<String>,
pub area_id: Option<String>,
pub project_id: Option<String>,
pub status: ProjectStatusFilter,
pub due_before: Option<String>,
pub due_after: Option<String>,
pub scheduled_before: Option<String>,
pub scheduled_after: Option<String>,
pub limit: u32,
}Expand description
Filter inputs to search. Each Option / Vec field is OFF when empty/None,
matching the spec’s “all filters are optional” contract.
Fields§
§query: Option<String>Free-text query (LIKE-matched against title and notes). Optional.
Tag titles or UUIDs. OR-semantic — an item with any listed tag matches.
area_id: Option<String>§project_id: Option<String>§status: ProjectStatusFilter§due_before: Option<String>ISO YYYY-MM-DD. Inclusive upper bound on deadline.
due_after: Option<String>ISO YYYY-MM-DD. Inclusive lower bound on deadline.
scheduled_before: Option<String>ISO YYYY-MM-DD. Inclusive upper bound on startDate.
scheduled_after: Option<String>ISO YYYY-MM-DD. Inclusive lower bound on startDate.
limit: u32Cap on returned rows. Caller supplies; 0 is internally rewritten to i64::MAX so default-constructed unit tests behave; the MCP-layer adapter always supplies a real limit (default 50 at the tool boundary).
Trait Implementations§
Source§impl Default for SearchParams
impl Default for SearchParams
Source§fn default() -> SearchParams
fn default() -> SearchParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SearchParams
impl RefUnwindSafe for SearchParams
impl Send for SearchParams
impl Sync for SearchParams
impl Unpin for SearchParams
impl UnsafeUnpin for SearchParams
impl UnwindSafe for SearchParams
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