pub struct ListOptions {
pub page: Option<u32>,
pub limit: Option<u32>,
pub category: Option<String>,
pub search: Option<String>,
}Expand description
Options for paginated list requests.
Fields§
§page: Option<u32>§limit: Option<u32>§category: Option<String>§search: Option<String>Trait Implementations§
Source§impl Default for ListOptions
impl Default for ListOptions
Source§fn default() -> ListOptions
fn default() -> ListOptions
Returns the “default value” for a type. Read more
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