pub struct SearchFilter {
pub source_type: Option<String>,
pub kind: Option<String>,
pub created_after: Option<i64>,
pub status: Option<String>,
}Expand description
G10 — closed metadata filter for Engine::search_filtered (Slice 10).
All fields are optional; a None field imposes no constraint, and an
all-None filter (or None filter) is the unfiltered path whose phase-1 SQL
is byte-identical to 0.7.2. This is a closed struct, not an open filter
DSL (ADR-0.8.0-agent-memory-retrieval-and-identity Q1); the filter-grammar /
list decision stays a later-slice concern.
created_after is a created_at >= bound lower bound in unix seconds.
status is wired through to the vec0 status metadata column. vec0 TEXT
metadata columns are NOT NULL-able, so the “no real population yet” state
is an empty-string sentinel '' (a forced deviation from the planned
“NULL plumbing”; a real population source is reserved-gap candidate 13). A
status = Some("open")-style filter therefore prunes every row until that
population slice lands.
Fields§
§source_type: Option<String>§kind: Option<String>§created_after: Option<i64>§status: Option<String>Trait Implementations§
Source§impl Clone for SearchFilter
impl Clone for SearchFilter
Source§fn clone(&self) -> SearchFilter
fn clone(&self) -> SearchFilter
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SearchFilter
impl Debug for SearchFilter
Source§impl Default for SearchFilter
impl Default for SearchFilter
Source§fn default() -> SearchFilter
fn default() -> SearchFilter
impl Eq for SearchFilter
Source§impl PartialEq for SearchFilter
impl PartialEq for SearchFilter
Source§fn eq(&self, other: &SearchFilter) -> bool
fn eq(&self, other: &SearchFilter) -> bool
self and other values to be equal, and is used by ==.