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