pub struct QueryPaginate {
pub from: Option<i32>,
pub to: Option<i32>,
pub extra_data: Option<Option<Vec<Value>>>,
}Fields§
§from: Option<i32>§to: Option<i32>§extra_data: Option<Option<Vec<Value>>>Implementations§
Source§impl QueryPaginate
impl QueryPaginate
pub fn new() -> QueryPaginate
Trait Implementations§
Source§impl Clone for QueryPaginate
impl Clone for QueryPaginate
Source§fn clone(&self) -> QueryPaginate
fn clone(&self) -> QueryPaginate
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 QueryPaginate
impl Debug for QueryPaginate
Source§impl Default for QueryPaginate
impl Default for QueryPaginate
Source§fn default() -> QueryPaginate
fn default() -> QueryPaginate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryPaginate
impl<'de> Deserialize<'de> for QueryPaginate
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 QueryPaginate
impl PartialEq for QueryPaginate
Source§impl Serialize for QueryPaginate
impl Serialize for QueryPaginate
impl StructuralPartialEq for QueryPaginate
Auto Trait Implementations§
impl Freeze for QueryPaginate
impl RefUnwindSafe for QueryPaginate
impl Send for QueryPaginate
impl Sync for QueryPaginate
impl Unpin for QueryPaginate
impl UnwindSafe for QueryPaginate
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