pub struct PaginationCursor {
pub last_score: f32,
pub last_id: String,
}Expand description
Internal cursor state for pagination
Fields§
§last_score: f32Last seen score for cursor-based pagination
last_id: StringLast seen ID for tie-breaking
Implementations§
Trait Implementations§
Source§impl Clone for PaginationCursor
impl Clone for PaginationCursor
Source§fn clone(&self) -> PaginationCursor
fn clone(&self) -> PaginationCursor
Returns a duplicate of the value. Read more
1.0.0 · 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 PaginationCursor
impl Debug for PaginationCursor
Source§impl<'de> Deserialize<'de> for PaginationCursor
impl<'de> Deserialize<'de> for PaginationCursor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PaginationCursor
impl RefUnwindSafe for PaginationCursor
impl Send for PaginationCursor
impl Sync for PaginationCursor
impl Unpin for PaginationCursor
impl UnsafeUnpin for PaginationCursor
impl UnwindSafe for PaginationCursor
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