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