Struct elasticsearch::features::Features
source · pub struct Features<'a> { /* private fields */ }
Expand description
Namespace client for Features APIs
Implementations
sourceimpl<'a> Features<'a>
impl<'a> Features<'a>
pub fn transport(&self) -> &Transport
sourcepub fn get_features<'b>(&'a self) -> FeaturesGetFeatures<'a, 'b>
pub fn get_features<'b>(&'a self) -> FeaturesGetFeatures<'a, 'b>
Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
sourcepub fn reset_features<'b>(&'a self) -> FeaturesResetFeatures<'a, 'b, ()>
pub fn reset_features<'b>(&'a self) -> FeaturesResetFeatures<'a, 'b, ()>
Resets the internal state of features, usually by deleting system indices
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 Features<'a>
impl<'a> Send for Features<'a>
impl<'a> Sync for Features<'a>
impl<'a> Unpin for Features<'a>
impl<'a> !UnwindSafe for Features<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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