pub struct IndexState {
pub index_name: String,
pub index_type: String,
pub document_count: usize,
pub metadata: HashMap<String, Value>,
pub health_status: String,
}Expand description
Index state in snapshot
Fields§
§index_name: StringIndex name
index_type: StringIndex type
document_count: usizeDocument count in index
metadata: HashMap<String, Value>Index metadata
health_status: StringIndex health status
Trait Implementations§
Source§impl Clone for IndexState
impl Clone for IndexState
Source§fn clone(&self) -> IndexState
fn clone(&self) -> IndexState
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 moreSource§impl Debug for IndexState
impl Debug for IndexState
Source§impl<'de> Deserialize<'de> for IndexState
impl<'de> Deserialize<'de> for IndexState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IndexState
impl RefUnwindSafe for IndexState
impl Send for IndexState
impl Sync for IndexState
impl Unpin for IndexState
impl UnwindSafe for IndexState
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