pub struct SearchParams {Show 16 fields
pub q: Option<String>,
pub context_type: Option<String>,
pub domain: Option<String>,
pub tags: Option<String>,
pub agent_id: Option<String>,
pub schema_uri: Option<String>,
pub derived_from: Option<String>,
pub created_after: Option<String>,
pub created_before: Option<String>,
pub data_period_start_after: Option<String>,
pub data_period_end_before: Option<String>,
pub expires_after: Option<String>,
pub expires_before: Option<String>,
pub status: Option<String>,
pub limit: Option<u32>,
pub cursor: Option<String>,
}Expand description
Query parameters for GET /contexts/search.
All fields are optional; unset fields are omitted from the query string.
The registry defaults status to active when not supplied.
Fields§
§q: Option<String>Full-text search across title, description, domain, tags, agent_id, type.
context_type: Option<String>§domain: Option<String>Comma-separated tag list. All listed tags must be present (AND).
agent_id: Option<String>§schema_uri: Option<String>§derived_from: Option<String>Filter for contexts whose derived_from includes this ctx_id.
created_after: Option<String>RFC 3339 lower bound on created_at.
created_before: Option<String>RFC 3339 upper bound on created_at.
data_period_start_after: Option<String>RFC 3339 lower bound on data_period.start.
data_period_end_before: Option<String>RFC 3339 upper bound on data_period.end.
expires_after: Option<String>RFC 3339 lower bound on expires_at.
expires_before: Option<String>RFC 3339 upper bound on expires_at.
status: Option<String>Filter by lifecycle status. Defaults to active.
limit: Option<u32>Maximum results per page (registry-capped, typically ≤ 100).
cursor: Option<String>Pagination cursor from a previous response.
Trait Implementations§
Source§impl Clone for SearchParams
impl Clone for SearchParams
Source§fn clone(&self) -> SearchParams
fn clone(&self) -> SearchParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchParams
impl Debug for SearchParams
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