Struct elastic_requests::endpoints::ExistsRequest
[−]
[src]
pub struct ExistsRequest<'a> { pub url: Url<'a>, }
Head: /{index}/{type}/{id}
Fields
url: Url<'a>
Methods
impl<'a> ExistsRequest<'a>
[src]
pub fn for_index_ty_id<IIndex, IType, IId>(
index: IIndex,
ty: IType,
id: IId
) -> Self where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
IId: Into<Id<'a>>,
[src]
index: IIndex,
ty: IType,
id: IId
) -> Self where
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
IId: Into<Id<'a>>,
Request to: /{index}/{type}/{id}
Trait Implementations
impl<'a> Debug for ExistsRequest<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for ExistsRequest<'a>
[src]
fn eq(&self, __arg_0: &ExistsRequest<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExistsRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for ExistsRequest<'a>
[src]
fn clone(&self) -> ExistsRequest<'a>
[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> Into<HttpRequest<'a, DefaultBody>> for ExistsRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.