pub struct IndexQuery {
pub terms: Vec<String>,
pub tag_prefix: Option<String>,
pub since_ms: Option<u64>,
pub until_ms: Option<u64>,
pub limit: Option<usize>,
pub cursor: Option<PageCursor>,
}Expand description
Index query. Terms use token-exact AND semantics over the lexical term sets (see the T33 decision record for the trade-off vs FTS).
Fields§
§terms: Vec<String>§tag_prefix: Option<String>§since_ms: Option<u64>§until_ms: Option<u64>§limit: Option<usize>Clamped to MAX_SEARCH_LIMIT.
cursor: Option<PageCursor>Trait Implementations§
Source§impl Clone for IndexQuery
impl Clone for IndexQuery
Source§impl Debug for IndexQuery
impl Debug for IndexQuery
Auto Trait Implementations§
impl Freeze for IndexQuery
impl RefUnwindSafe for IndexQuery
impl Send for IndexQuery
impl Sync for IndexQuery
impl Unpin for IndexQuery
impl UnsafeUnpin for IndexQuery
impl UnwindSafe for IndexQuery
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