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§fn clone(&self) -> IndexQuery
fn clone(&self) -> IndexQuery
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 IndexQuery
impl Debug for IndexQuery
Source§impl Default for IndexQuery
impl Default for IndexQuery
Source§fn default() -> IndexQuery
fn default() -> IndexQuery
Returns the “default value” for a type. Read more
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