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