pub struct QueryOpts {
pub after: Option<i64>,
pub before: Option<i64>,
pub limit: Option<usize>,
}Expand description
Query options for filtered retrieval.
Fields§
§after: Option<i64>Only include entries with now > this timestamp.
before: Option<i64>Only include entries with now < this timestamp.
limit: Option<usize>Maximum number of entries to return.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryOpts
impl RefUnwindSafe for QueryOpts
impl Send for QueryOpts
impl Sync for QueryOpts
impl Unpin for QueryOpts
impl UnsafeUnpin for QueryOpts
impl UnwindSafe for QueryOpts
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