pub struct InputQuery {
pub query: Option<Query>,
pub size: Option<u32>,
pub source: Option<Vec<String>>,
}Fields§
§query: Option<Query>The query.
size: Option<u32>The size of the query.
source: Option<Vec<String>>The source fields
Implementations§
Source§impl InputQuery
impl InputQuery
pub fn new() -> InputQuery
Trait Implementations§
Source§impl Clone for InputQuery
impl Clone for InputQuery
Source§fn clone(&self) -> InputQuery
fn clone(&self) -> InputQuery
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 Debug for InputQuery
impl Debug for InputQuery
Source§impl Default for InputQuery
impl Default for InputQuery
Source§fn default() -> InputQuery
fn default() -> InputQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputQuery
impl<'de> Deserialize<'de> for InputQuery
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 InputQuery
impl PartialEq for InputQuery
Source§fn eq(&self, other: &InputQuery) -> bool
fn eq(&self, other: &InputQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InputQuery
impl Serialize for InputQuery
impl StructuralPartialEq for InputQuery
Auto Trait Implementations§
impl Freeze for InputQuery
impl RefUnwindSafe for InputQuery
impl Send for InputQuery
impl Sync for InputQuery
impl Unpin for InputQuery
impl UnsafeUnpin for InputQuery
impl UnwindSafe for InputQuery
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