Struct elastic::client::requests::endpoints::SimpleSearchRequest
[−]
pub struct SimpleSearchRequest<'a> { pub url: Url<'a>, }
Fields
url: Url<'a>
Methods
impl<'a> SimpleSearchRequest<'a>
fn new() -> SimpleSearchRequest<'a>
fn for_index<IIndex>(index: IIndex) -> SimpleSearchRequest<'a> where
IIndex: Into<Index<'a>>,
IIndex: Into<Index<'a>>,
fn for_index_ty<IIndex, IType>(
index: IIndex,
ty: IType
) -> SimpleSearchRequest<'a> where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
index: IIndex,
ty: IType
) -> SimpleSearchRequest<'a> where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SimpleSearchRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<SimpleSearchRequest<'a>> for SimpleSearchRequest<'a>
fn eq(&self, __arg_0: &SimpleSearchRequest<'a>) -> bool
fn ne(&self, __arg_0: &SimpleSearchRequest<'a>) -> bool
impl<'a> Debug for SimpleSearchRequest<'a>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.