pub struct IndexHealth {
pub index_name: String,
pub index_type: IndexType,
pub fragmentation: f64,
pub recall_estimate: f64,
pub node_count: usize,
pub last_rebalanced: Option<Instant>,
}Fields§
§index_name: String§index_type: IndexType§fragmentation: f64§recall_estimate: f64§node_count: usize§last_rebalanced: Option<Instant>Trait Implementations§
Source§impl Clone for IndexHealth
impl Clone for IndexHealth
Source§fn clone(&self) -> IndexHealth
fn clone(&self) -> IndexHealth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IndexHealth
impl RefUnwindSafe for IndexHealth
impl Send for IndexHealth
impl Sync for IndexHealth
impl Unpin for IndexHealth
impl UnsafeUnpin for IndexHealth
impl UnwindSafe for IndexHealth
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more