Struct elasticsearch::snapshot::Snapshot
source · [−]pub struct Snapshot<'a> { /* private fields */ }
Expand description
Namespace client for Snapshot APIs
Implementations
sourceimpl<'a> Snapshot<'a>
impl<'a> Snapshot<'a>
pub fn transport(&self) -> &Transport
sourcepub fn cleanup_repository<'b>(
&'a self,
parts: SnapshotCleanupRepositoryParts<'b>
) -> SnapshotCleanupRepository<'a, 'b, ()>
pub fn cleanup_repository<'b>(
&'a self,
parts: SnapshotCleanupRepositoryParts<'b>
) -> SnapshotCleanupRepository<'a, 'b, ()>
Snapshot Cleanup Repository API
Removes stale data from repository.
sourcepub fn clone<'b>(
&'a self,
parts: SnapshotCloneParts<'b>
) -> SnapshotClone<'a, 'b, ()>
pub fn clone<'b>(
&'a self,
parts: SnapshotCloneParts<'b>
) -> SnapshotClone<'a, 'b, ()>
Clones indices from one snapshot into another snapshot in the same repository.
sourcepub fn create<'b>(
&'a self,
parts: SnapshotCreateParts<'b>
) -> SnapshotCreate<'a, 'b, ()>
pub fn create<'b>(
&'a self,
parts: SnapshotCreateParts<'b>
) -> SnapshotCreate<'a, 'b, ()>
Creates a snapshot in a repository.
sourcepub fn create_repository<'b>(
&'a self,
parts: SnapshotCreateRepositoryParts<'b>
) -> SnapshotCreateRepository<'a, 'b, ()>
pub fn create_repository<'b>(
&'a self,
parts: SnapshotCreateRepositoryParts<'b>
) -> SnapshotCreateRepository<'a, 'b, ()>
Snapshot Create Repository API
Creates a repository.
sourcepub fn delete<'b>(
&'a self,
parts: SnapshotDeleteParts<'b>
) -> SnapshotDelete<'a, 'b>
pub fn delete<'b>(
&'a self,
parts: SnapshotDeleteParts<'b>
) -> SnapshotDelete<'a, 'b>
Deletes a snapshot.
sourcepub fn delete_repository<'b>(
&'a self,
parts: SnapshotDeleteRepositoryParts<'b>
) -> SnapshotDeleteRepository<'a, 'b>
pub fn delete_repository<'b>(
&'a self,
parts: SnapshotDeleteRepositoryParts<'b>
) -> SnapshotDeleteRepository<'a, 'b>
Snapshot Delete Repository API
Deletes a repository.
sourcepub fn get<'b>(&'a self, parts: SnapshotGetParts<'b>) -> SnapshotGet<'a, 'b>
pub fn get<'b>(&'a self, parts: SnapshotGetParts<'b>) -> SnapshotGet<'a, 'b>
Returns information about a snapshot.
sourcepub fn get_repository<'b>(
&'a self,
parts: SnapshotGetRepositoryParts<'b>
) -> SnapshotGetRepository<'a, 'b>
pub fn get_repository<'b>(
&'a self,
parts: SnapshotGetRepositoryParts<'b>
) -> SnapshotGetRepository<'a, 'b>
Returns information about a repository.
sourcepub fn repository_analyze<'b>(
&'a self,
parts: SnapshotRepositoryAnalyzeParts<'b>
) -> SnapshotRepositoryAnalyze<'a, 'b, ()>
pub fn repository_analyze<'b>(
&'a self,
parts: SnapshotRepositoryAnalyzeParts<'b>
) -> SnapshotRepositoryAnalyze<'a, 'b, ()>
Snapshot Repository Analyze API
Analyzes a repository for correctness and performance
sourcepub fn restore<'b>(
&'a self,
parts: SnapshotRestoreParts<'b>
) -> SnapshotRestore<'a, 'b, ()>
pub fn restore<'b>(
&'a self,
parts: SnapshotRestoreParts<'b>
) -> SnapshotRestore<'a, 'b, ()>
Restores a snapshot.
sourcepub fn status<'b>(
&'a self,
parts: SnapshotStatusParts<'b>
) -> SnapshotStatus<'a, 'b>
pub fn status<'b>(
&'a self,
parts: SnapshotStatusParts<'b>
) -> SnapshotStatus<'a, 'b>
Returns information about the status of a snapshot.
sourcepub fn verify_repository<'b>(
&'a self,
parts: SnapshotVerifyRepositoryParts<'b>
) -> SnapshotVerifyRepository<'a, 'b, ()>
pub fn verify_repository<'b>(
&'a self,
parts: SnapshotVerifyRepositoryParts<'b>
) -> SnapshotVerifyRepository<'a, 'b, ()>
Snapshot Verify Repository API
Verifies a repository.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Snapshot<'a>
impl<'a> Send for Snapshot<'a>
impl<'a> Sync for Snapshot<'a>
impl<'a> Unpin for Snapshot<'a>
impl<'a> !UnwindSafe for Snapshot<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more