Struct elastic_requests::endpoints::TasksGetRequest
[−]
[src]
pub struct TasksGetRequest<'a> { pub url: Url<'a>, }
Get: /_tasks/{task_id}
Fields
url: Url<'a>
Methods
impl<'a> TasksGetRequest<'a>
[src]
fn for_task_id<ITaskId>(task_id: ITaskId) -> Self where
ITaskId: Into<TaskId<'a>>,
[src]
ITaskId: Into<TaskId<'a>>,
Request to: /_tasks/{task_id}
Trait Implementations
impl<'a> Debug for TasksGetRequest<'a>
[src]
impl<'a> PartialEq for TasksGetRequest<'a>
[src]
fn eq(&self, __arg_0: &TasksGetRequest<'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: &TasksGetRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for TasksGetRequest<'a>
[src]
fn clone(&self) -> TasksGetRequest<'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 TasksGetRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.