pub struct LimitOffsetQuery {
pub limit: Option<u64>,
pub offset: Option<u64>,
}Expand description
Query parameters for limit/offset pagination.
Fields§
§limit: Option<u64>Requested page size.
offset: Option<u64>Requested offset from the beginning of the result set.
Implementations§
Trait Implementations§
Source§impl Clone for LimitOffsetQuery
impl Clone for LimitOffsetQuery
Source§fn clone(&self) -> LimitOffsetQuery
fn clone(&self) -> LimitOffsetQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for LimitOffsetQuery
impl ComposeSchema for LimitOffsetQuery
Source§impl Debug for LimitOffsetQuery
impl Debug for LimitOffsetQuery
Source§impl Default for LimitOffsetQuery
impl Default for LimitOffsetQuery
Source§fn default() -> LimitOffsetQuery
fn default() -> LimitOffsetQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LimitOffsetQuery
impl<'de> Deserialize<'de> for LimitOffsetQuery
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 IntoParams for LimitOffsetQuery
impl IntoParams for LimitOffsetQuery
Source§impl ToSchema for LimitOffsetQuery
impl ToSchema for LimitOffsetQuery
impl Copy for LimitOffsetQuery
Auto Trait Implementations§
impl Freeze for LimitOffsetQuery
impl RefUnwindSafe for LimitOffsetQuery
impl Send for LimitOffsetQuery
impl Sync for LimitOffsetQuery
impl Unpin for LimitOffsetQuery
impl UnsafeUnpin for LimitOffsetQuery
impl UnwindSafe for LimitOffsetQuery
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