pub trait Pageable {
// Required method
fn set_cursor(&mut self, cursor: u64);
}Expand description
Trait indicating an Endpoint can be paged
paging will return a limited number of results
per request. a cursor is present indicating
the position in the total list of results
on the backend.
Required Methods§
Sourcefn set_cursor(&mut self, cursor: u64)
fn set_cursor(&mut self, cursor: u64)
set the cursor for this pageable endpoint