pub enum InputQuery {
String(String),
Array(Vec<String>),
}Expand description
Search query text. Can be a single string or an array of strings.
Variants§
Trait Implementations§
Source§impl Clone for InputQuery
impl Clone for InputQuery
Source§impl Debug for InputQuery
impl Debug for InputQuery
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
Auto Trait Implementations§
impl Forget for InputQuery
impl Freeze for InputQuery
impl Move for InputQuery
impl RefUnwindSafe for InputQuery
impl Send for InputQuerywhere
RawVecInner: Send,
impl Sync for InputQuerywhere
RawVecInner: Sync,
impl Unpin for InputQuery
impl UnsafeUnpin for InputQuerywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for InputQuerywhere
RawVecInner: UnwindSafe,
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