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