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