pub struct SearchIndexStatus {
pub state: SearchIndexStatusState,
pub enabled: bool,
pub workspace: String,
pub store_dir: String,
pub index_version: Option<String>,
pub document_count: Option<u64>,
pub index_bytes: Option<u64>,
pub build_time_ms: Option<u64>,
pub stale: bool,
pub message: Option<String>,
}Fields§
§state: SearchIndexStatusState§enabled: bool§workspace: String§store_dir: String§index_version: Option<String>§document_count: Option<u64>§index_bytes: Option<u64>§build_time_ms: Option<u64>§stale: bool§message: Option<String>Trait Implementations§
Source§impl Clone for SearchIndexStatus
impl Clone for SearchIndexStatus
Source§fn clone(&self) -> SearchIndexStatus
fn clone(&self) -> SearchIndexStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SearchIndexStatus
impl Debug for SearchIndexStatus
Source§impl<'de> Deserialize<'de> for SearchIndexStatus
impl<'de> Deserialize<'de> for SearchIndexStatus
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
impl Eq for SearchIndexStatus
Source§impl PartialEq for SearchIndexStatus
impl PartialEq for SearchIndexStatus
Source§fn eq(&self, other: &SearchIndexStatus) -> bool
fn eq(&self, other: &SearchIndexStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SearchIndexStatus
impl Serialize for SearchIndexStatus
impl StructuralPartialEq for SearchIndexStatus
Auto Trait Implementations§
impl Freeze for SearchIndexStatus
impl RefUnwindSafe for SearchIndexStatus
impl Send for SearchIndexStatus
impl Sync for SearchIndexStatus
impl Unpin for SearchIndexStatus
impl UnsafeUnpin for SearchIndexStatus
impl UnwindSafe for SearchIndexStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.