Struct elastic_requests::endpoints::SnapshotGetRequest
[−]
[src]
pub struct SnapshotGetRequest<'a> { pub url: Url<'a>, }
Get: /_snapshot/{repository}/{snapshot}
Fields
url: Url<'a>
Methods
impl<'a> SnapshotGetRequest<'a>
[src]
pub fn for_repository_snapshot<IRepository, ISnapshot>(
repository: IRepository,
snapshot: ISnapshot
) -> Self where
IRepository: Into<Repository<'a>>,
ISnapshot: Into<Snapshot<'a>>,
[src]
repository: IRepository,
snapshot: ISnapshot
) -> Self where
IRepository: Into<Repository<'a>>,
ISnapshot: Into<Snapshot<'a>>,
Request to: /_snapshot/{repository}/{snapshot}
Trait Implementations
impl<'a> Debug for SnapshotGetRequest<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for SnapshotGetRequest<'a>
[src]
fn eq(&self, __arg_0: &SnapshotGetRequest<'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: &SnapshotGetRequest<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for SnapshotGetRequest<'a>
[src]
fn clone(&self) -> SnapshotGetRequest<'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 SnapshotGetRequest<'a>
[src]
fn into(self) -> HttpRequest<'a, DefaultBody>
[src]
Performs the conversion.