pub struct ListOptions {
pub offset: Option<i64>,
pub limit: Option<i64>,
pub desc: Option<bool>,
}Expand description
Standard offset/limit pagination options shared by most list endpoints.
Fields§
§offset: Option<i64>Number of items to skip from the beginning of the list.
limit: Option<i64>Maximum number of items to return.
desc: Option<bool>If true, items are returned newest-first.
Trait Implementations§
Source§impl Clone for ListOptions
impl Clone for ListOptions
Source§impl Debug for ListOptions
impl Debug for ListOptions
Auto Trait Implementations§
impl Freeze for ListOptions
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnsafeUnpin for ListOptions
impl UnwindSafe for ListOptions
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