Struct elastic::client::requests::endpoints::DeleteRequest
[−]
pub struct DeleteRequest<'a> { pub url: Url<'a>, }
Delete: /{index}/{type}/{id}
Fields
url: Url<'a>
Methods
impl<'a> DeleteRequest<'a>
pub fn for_index_ty_id<IIndex, IType, IId>(
index: IIndex,
ty: IType,
id: IId
) -> DeleteRequest<'a> where
IId: Into<Id<'a>>,
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
index: IIndex,
ty: IType,
id: IId
) -> DeleteRequest<'a> where
IId: Into<Id<'a>>,
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
Request to: /{index}/{type}/{id}
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for DeleteRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<DeleteRequest<'a>> for DeleteRequest<'a>
fn eq(&self, __arg_0: &DeleteRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeleteRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for DeleteRequest<'a>
fn clone(&self) -> DeleteRequest<'a>
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