Struct elastic::client::requests::endpoints::SnapshotStatusRequest
[−]
pub struct SnapshotStatusRequest<'a> {
pub url: Url<'a>,
}Get: /_snapshot/_status
Fields
url: Url<'a>
Methods
impl<'a> SnapshotStatusRequest<'a>
pub fn new() -> SnapshotStatusRequest<'a>
Request to: /_snapshot/_status
pub fn for_repository<IRepository>(
repository: IRepository
) -> SnapshotStatusRequest<'a> where
IRepository: Into<Repository<'a>>,
repository: IRepository
) -> SnapshotStatusRequest<'a> where
IRepository: Into<Repository<'a>>,
Request to: /_snapshot/{repository}/_status
pub fn for_repository_snapshot<IRepository, ISnapshot>(
repository: IRepository,
snapshot: ISnapshot
) -> SnapshotStatusRequest<'a> where
IRepository: Into<Repository<'a>>,
ISnapshot: Into<Snapshot<'a>>,
repository: IRepository,
snapshot: ISnapshot
) -> SnapshotStatusRequest<'a> where
IRepository: Into<Repository<'a>>,
ISnapshot: Into<Snapshot<'a>>,
Request to: /_snapshot/{repository}/{snapshot}/_status
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotStatusRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<SnapshotStatusRequest<'a>> for SnapshotStatusRequest<'a>
fn eq(&self, __arg_0: &SnapshotStatusRequest<'a>) -> bool
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
This method tests for !=.
impl<'a> Clone for SnapshotStatusRequest<'a>
fn clone(&self) -> SnapshotStatusRequest<'a>
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