pub struct AutoParams {
pub has_where: bool,
pub has_order_by: bool,
pub has_limit: bool,
pub has_offset: bool,
}Expand description
Auto-wired query parameters.
These are standard parameters automatically added to list queries.
Fields§
§has_where: boolEnable where filtering.
has_order_by: boolEnable orderBy sorting.
has_limit: boolEnable limit pagination.
has_offset: boolEnable offset pagination.
Implementations§
Trait Implementations§
Source§impl Clone for AutoParams
impl Clone for AutoParams
Source§fn clone(&self) -> AutoParams
fn clone(&self) -> AutoParams
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 AutoParams
impl Debug for AutoParams
Source§impl Default for AutoParams
impl Default for AutoParams
Source§fn default() -> AutoParams
fn default() -> AutoParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoParams
impl<'de> Deserialize<'de> for AutoParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AutoParams
impl PartialEq for AutoParams
Source§impl Serialize for AutoParams
impl Serialize for AutoParams
impl StructuralPartialEq for AutoParams
Auto Trait Implementations§
impl Freeze for AutoParams
impl RefUnwindSafe for AutoParams
impl Send for AutoParams
impl Sync for AutoParams
impl Unpin for AutoParams
impl UnsafeUnpin for AutoParams
impl UnwindSafe for AutoParams
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