Struct elastic::client::requests::endpoints::SnapshotRestoreRequest
[−]
pub struct SnapshotRestoreRequest<'a, B> { pub url: Url<'a>, pub body: B, }
Fields
url: Url<'a>
body: B
Methods
impl<'a, B> SnapshotRestoreRequest<'a, B>
fn for_repository_snapshot<IRepository, ISnapshot>(
repository: IRepository,
snapshot: ISnapshot,
body: B
) -> SnapshotRestoreRequest<'a, B> where
IRepository: Into<Repository<'a>>,
ISnapshot: Into<Snapshot<'a>>,
repository: IRepository,
snapshot: ISnapshot,
body: B
) -> SnapshotRestoreRequest<'a, B> where
IRepository: Into<Repository<'a>>,
ISnapshot: Into<Snapshot<'a>>,
Trait Implementations
impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotRestoreRequest<'a, B>
fn into(self) -> HttpRequest<'a, B>
Performs the conversion.
impl<'a, B> PartialEq<SnapshotRestoreRequest<'a, B>> for SnapshotRestoreRequest<'a, B> where
B: PartialEq<B>,
B: PartialEq<B>,
fn eq(&self, __arg_0: &SnapshotRestoreRequest<'a, B>) -> bool
fn ne(&self, __arg_0: &SnapshotRestoreRequest<'a, B>) -> bool
impl<'a, B> Debug for SnapshotRestoreRequest<'a, B> where
B: Debug,
B: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<'a, B> Clone for SnapshotRestoreRequest<'a, B> where
B: Clone,
B: Clone,