pub struct CursorPage<T> {
pub items: Vec<T>,
pub next_cursor: Option<String>,
}Expand description
One page of a cursor-paginated list (/audit-logs).
Fields§
§items: Vec<T>The items on this page.
next_cursor: Option<String>Pass it as cursor to get the next page; None on the last page.
Trait Implementations§
Source§impl<T: Clone> Clone for CursorPage<T>
impl<T: Clone> Clone for CursorPage<T>
Source§fn clone(&self) -> CursorPage<T>
fn clone(&self) -> CursorPage<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for CursorPage<T>
impl<T> RefUnwindSafe for CursorPage<T>where
T: RefUnwindSafe,
impl<T> Send for CursorPage<T>where
T: Send,
impl<T> Sync for CursorPage<T>where
T: Sync,
impl<T> Unpin for CursorPage<T>where
T: Unpin,
impl<T> UnsafeUnpin for CursorPage<T>
impl<T> UnwindSafe for CursorPage<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