pub struct LookupPage<Id> {
pub ids: Vec<Id>,
pub next_cursor: Option<Vec<u8>>,
}Expand description
One page of enumerated candidate IDs.
Fields§
§ids: Vec<Id>Candidate IDs in this page. Order is source-defined and preserved through hydration and authorization.
next_cursor: Option<Vec<u8>>Opaque cursor for the next page, or None if this page is the
last.
Trait Implementations§
Source§impl<Id: Clone> Clone for LookupPage<Id>
impl<Id: Clone> Clone for LookupPage<Id>
Source§fn clone(&self) -> LookupPage<Id>
fn clone(&self) -> LookupPage<Id>
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<Id: Debug> Debug for LookupPage<Id>
impl<Id: Debug> Debug for LookupPage<Id>
impl<Id: Eq> Eq for LookupPage<Id>
Source§impl<Id: PartialEq> PartialEq for LookupPage<Id>
impl<Id: PartialEq> PartialEq for LookupPage<Id>
Source§fn eq(&self, other: &LookupPage<Id>) -> bool
fn eq(&self, other: &LookupPage<Id>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<Id> StructuralPartialEq for LookupPage<Id>
Auto Trait Implementations§
impl<Id> Freeze for LookupPage<Id>
impl<Id> RefUnwindSafe for LookupPage<Id>where
Id: RefUnwindSafe,
impl<Id> Send for LookupPage<Id>where
Id: Send,
impl<Id> Sync for LookupPage<Id>where
Id: Sync,
impl<Id> Unpin for LookupPage<Id>where
Id: Unpin,
impl<Id> UnsafeUnpin for LookupPage<Id>
impl<Id> UnwindSafe for LookupPage<Id>where
Id: 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