Struct elasticsearch::searchable_snapshots::SearchableSnapshots [−][src]
Namespace client for SearchableSnapshots APIs
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
Implementations
impl<'a> SearchableSnapshots<'a>
[src]
pub fn new(transport: &'a Transport) -> Self
[src]
Creates a new instance of SearchableSnapshots
pub fn transport(&self) -> &Transport
[src]
pub fn clear_cache<'b>(
&'a self,
parts: SearchableSnapshotsClearCacheParts<'b>
) -> SearchableSnapshotsClearCache<'a, 'b, ()>
[src]
&'a self,
parts: SearchableSnapshotsClearCacheParts<'b>
) -> SearchableSnapshotsClearCache<'a, 'b, ()>
Searchable Snapshots Clear Cache API
Clear the cache of searchable snapshots.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn mount<'b>(
&'a self,
parts: SearchableSnapshotsMountParts<'b>
) -> SearchableSnapshotsMount<'a, 'b, ()>
[src]
&'a self,
parts: SearchableSnapshotsMountParts<'b>
) -> SearchableSnapshotsMount<'a, 'b, ()>
Searchable Snapshots Mount API
Mount a snapshot as a searchable index.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn repository_stats<'b>(
&'a self,
parts: SearchableSnapshotsRepositoryStatsParts<'b>
) -> SearchableSnapshotsRepositoryStats<'a, 'b>
[src]
&'a self,
parts: SearchableSnapshotsRepositoryStatsParts<'b>
) -> SearchableSnapshotsRepositoryStats<'a, 'b>
Searchable Snapshots Repository Stats API
DEPRECATED: This API is replaced by the Repositories Metering API.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
pub fn stats<'b>(
&'a self,
parts: SearchableSnapshotsStatsParts<'b>
) -> SearchableSnapshotsStats<'a, 'b>
[src]
&'a self,
parts: SearchableSnapshotsStatsParts<'b>
) -> SearchableSnapshotsStats<'a, 'b>
Searchable Snapshots Stats API
Retrieve various statistics about searchable snapshots.
Optional, experimental
This requires the experimental-apis
feature. Can have breaking changes in future
versions or might even be removed entirely.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SearchableSnapshots<'a>
impl<'a> Send for SearchableSnapshots<'a>
impl<'a> Sync for SearchableSnapshots<'a>
impl<'a> Unpin for SearchableSnapshots<'a>
impl<'a> !UnwindSafe for SearchableSnapshots<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,