pub struct Scan {
pub max_sessions: Option<usize>,
pub since: Option<DateTime<Utc>>,
}Expand description
How to bound a scan. Both limits are honest about cost rather than about relevance: the caller decides how much reading it can afford.
Fields§
§max_sessions: Option<usize>Stop after this many sessions, newest first.
since: Option<DateTime<Utc>>Skip sessions started before this.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnsafeUnpin for Scan
impl UnwindSafe for Scan
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