pub struct ListParams {
pub page: u64,
pub per_page: u64,
pub search: Option<String>,
pub search_columns: Vec<String>,
pub filters: HashMap<String, Value>,
pub order_by: Option<(String, SortOrder)>,
}Fields§
§page: u64§per_page: u64§search: Option<String>§search_columns: Vec<String>§filters: HashMap<String, Value>§order_by: Option<(String, SortOrder)>Trait Implementations§
Source§impl Clone for ListParams
impl Clone for ListParams
Source§fn clone(&self) -> ListParams
fn clone(&self) -> ListParams
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 ListParams
impl Debug for ListParams
Auto Trait Implementations§
impl Freeze for ListParams
impl RefUnwindSafe for ListParams
impl Send for ListParams
impl Sync for ListParams
impl Unpin for ListParams
impl UnsafeUnpin for ListParams
impl UnwindSafe for ListParams
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