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