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