Struct elastic_requests::SnapshotCreateRequest
[−]
[src]
pub struct SnapshotCreateRequest<'a> { pub url: Url<'a>, pub body: Body<'a>, }
Fields
url: Url<'a>
body: Body<'a>
Methods
impl<'a> SnapshotCreateRequest<'a>
[src]
fn for_repository_snapshot<IRepository: Into<Repository<'a>>, ISnapshot: Into<Snapshot<'a>>, IBody: Into<Body<'a>>>(repository: IRepository,
snapshot: ISnapshot,
body: IBody)
-> SnapshotCreateRequest<'a>
snapshot: ISnapshot,
body: IBody)
-> SnapshotCreateRequest<'a>
Trait Implementations
impl<'a> Debug for SnapshotCreateRequest<'a>
[src]
impl<'a> PartialEq for SnapshotCreateRequest<'a>
[src]
fn eq(&self, __arg_0: &SnapshotCreateRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SnapshotCreateRequest<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for SnapshotCreateRequest<'a>
[src]
fn clone(&self) -> SnapshotCreateRequest<'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 SnapshotCreateRequest<'b>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.
impl<'a> Into<HttpRequest<'a>> for SnapshotCreateRequest<'a>
[src]
fn into(self) -> HttpRequest<'a>
Performs the conversion.