pub struct MsearchItem {
pub index: Option<String>,
pub query: Vec<u8>,
}Expand description
One parsed multi-search request: the optional explicit index from the
header line (else the URL default), and the raw query body line.
Fields§
§index: Option<String>The explicit index from the header line, if any (else the URL default).
query: Vec<u8>The raw search body (the line after the header), forwarded once wrapped.
Trait Implementations§
Source§impl Clone for MsearchItem
impl Clone for MsearchItem
Source§fn clone(&self) -> MsearchItem
fn clone(&self) -> MsearchItem
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 MsearchItem
impl Debug for MsearchItem
impl Eq for MsearchItem
Source§impl PartialEq for MsearchItem
impl PartialEq for MsearchItem
Source§fn eq(&self, other: &MsearchItem) -> bool
fn eq(&self, other: &MsearchItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MsearchItem
Auto Trait Implementations§
impl Freeze for MsearchItem
impl RefUnwindSafe for MsearchItem
impl Send for MsearchItem
impl Sync for MsearchItem
impl Unpin for MsearchItem
impl UnsafeUnpin for MsearchItem
impl UnwindSafe for MsearchItem
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