pub struct QueryPage<T> { /* private fields */ }Expand description
One bounded page returned by a named domain query.
Implementations§
Source§impl<T> QueryPage<T>
impl<T> QueryPage<T>
Sourcepub const fn next_cursor(&self) -> Option<&QueryCursor>
pub const fn next_cursor(&self) -> Option<&QueryCursor>
Returns the token for the next page, when another page exists.
Sourcepub const fn traversal_truncated(&self) -> bool
pub const fn traversal_truncated(&self) -> bool
Returns whether an explicit traversal bound made the result incomplete.
Sourcepub fn into_items(self) -> Vec<T>
pub fn into_items(self) -> Vec<T>
Consumes the page and returns its values.
Trait Implementations§
impl<T: Eq> Eq for QueryPage<T>
impl<T: PartialEq> StructuralPartialEq for QueryPage<T>
Auto Trait Implementations§
impl<T> Freeze for QueryPage<T>
impl<T> RefUnwindSafe for QueryPage<T>where
T: RefUnwindSafe,
impl<T> Send for QueryPage<T>where
T: Send,
impl<T> Sync for QueryPage<T>where
T: Sync,
impl<T> Unpin for QueryPage<T>where
T: Unpin,
impl<T> UnsafeUnpin for QueryPage<T>
impl<T> UnwindSafe for QueryPage<T>where
T: UnwindSafe,
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