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