Struct elastic::client::requests::endpoints::SnapshotGetRequest
[−]
pub struct SnapshotGetRequest<'a> { pub url: Url<'a>, }
Fields
url: Url<'a>
Methods
impl<'a> SnapshotGetRequest<'a>
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>>,
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
fn ne(&self, __arg_0: &SnapshotGetRequest<'a>) -> bool
impl<'a> Debug for SnapshotGetRequest<'a>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.