Struct elastic_requests::SimpleSearchRequest
[−]
[src]
pub struct SimpleSearchRequest<'a> { pub url: Url<'a>, }
Fields
url: Url<'a>
Methods
impl<'a> SimpleSearchRequest<'a>
[src]
fn new() -> SimpleSearchRequest<'a>
fn for_index<IIndex: Into<Index<'a>>>(index: IIndex) -> SimpleSearchRequest<'a>
fn for_index_ty<IIndex: Into<Index<'a>>, IType: Into<Type<'a>>>(index: IIndex,
ty: IType)
-> SimpleSearchRequest<'a>
ty: IType)
-> SimpleSearchRequest<'a>
Trait Implementations
impl<'a> Debug for SimpleSearchRequest<'a>
[src]
impl<'a> PartialEq for SimpleSearchRequest<'a>
[src]
fn eq(&self, __arg_0: &SimpleSearchRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SimpleSearchRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for SimpleSearchRequest<'a>
[src]
fn clone(&self) -> SimpleSearchRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a, 'b: 'a> Into<HttpRequest<'a>> for &'a SimpleSearchRequest<'b>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.
impl<'a> Into<HttpRequest<'a>> for SimpleSearchRequest<'a>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.