Struct elastic_requests::CreateRequest
[−]
[src]
pub struct CreateRequest<'a> { pub url: Url<'a>, pub body: Body<'a>, }
Fields
url: Url<'a>
body: Body<'a>
Methods
impl<'a> CreateRequest<'a>
[src]
fn for_index_ty_id<IIndex: Into<Index<'a>>, IType: Into<Type<'a>>, IId: Into<Id<'a>>, IBody: Into<Body<'a>>>(index: IIndex,
ty: IType,
id: IId,
body: IBody)
-> CreateRequest<'a>
ty: IType,
id: IId,
body: IBody)
-> CreateRequest<'a>
Trait Implementations
impl<'a> Debug for CreateRequest<'a>
[src]
impl<'a> PartialEq for CreateRequest<'a>
[src]
fn eq(&self, __arg_0: &CreateRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for CreateRequest<'a>
[src]
fn clone(&self) -> CreateRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a, 'b: 'a> Into<HttpRequest<'a>> for &'a CreateRequest<'b>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.
impl<'a> Into<HttpRequest<'a>> for CreateRequest<'a>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.