pub struct InteractionPageQuery { /* private fields */ }Expand description
Bounded keyset query over approval or deferred-tool records.
Implementations§
Source§impl InteractionPageQuery
impl InteractionPageQuery
Sourcepub fn new(
session_id: Option<SessionId>,
run_id: Option<RunId>,
after: Option<InteractionPageKey>,
limit: usize,
) -> SessionStoreResult<Self>
pub fn new( session_id: Option<SessionId>, run_id: Option<RunId>, after: Option<InteractionPageKey>, limit: usize, ) -> SessionStoreResult<Self>
Build a validated interaction-page query.
§Errors
Returns an error unless limit is between 1 and MAX_STABLE_PAGE_SIZE.
Sourcepub const fn session_id(&self) -> Option<&SessionId>
pub const fn session_id(&self) -> Option<&SessionId>
Return the optional owning-session filter.
Sourcepub const fn after(&self) -> Option<&InteractionPageKey>
pub const fn after(&self) -> Option<&InteractionPageKey>
Return the exclusive page boundary.
Trait Implementations§
Source§impl Clone for InteractionPageQuery
impl Clone for InteractionPageQuery
Source§fn clone(&self) -> InteractionPageQuery
fn clone(&self) -> InteractionPageQuery
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 InteractionPageQuery
impl Debug for InteractionPageQuery
impl Eq for InteractionPageQuery
Source§impl PartialEq for InteractionPageQuery
impl PartialEq for InteractionPageQuery
impl StructuralPartialEq for InteractionPageQuery
Auto Trait Implementations§
impl Freeze for InteractionPageQuery
impl RefUnwindSafe for InteractionPageQuery
impl Send for InteractionPageQuery
impl Sync for InteractionPageQuery
impl Unpin for InteractionPageQuery
impl UnsafeUnpin for InteractionPageQuery
impl UnwindSafe for InteractionPageQuery
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