Struct elasticsearch::searchable_snapshots::SearchableSnapshots[][src]

pub struct SearchableSnapshots<'a> { /* fields omitted */ }

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]

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]

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]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.