pub struct IndexCount {
pub is_indexing: Option<bool>,
pub number_of_documents: Option<i32>,
}Fields§
§is_indexing: Option<bool>IsIndexing is always false: writes are applied before their response, so there is never a background pass a caller could be waiting on.
number_of_documents: Option<i32>NumberOfDocuments is how many documents this org holds in that index.
Implementations§
Source§impl IndexCount
impl IndexCount
pub fn new() -> IndexCount
Trait Implementations§
Source§impl Clone for IndexCount
impl Clone for IndexCount
Source§fn clone(&self) -> IndexCount
fn clone(&self) -> IndexCount
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 IndexCount
impl Debug for IndexCount
Source§impl Default for IndexCount
impl Default for IndexCount
Source§fn default() -> IndexCount
fn default() -> IndexCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndexCount
impl<'de> Deserialize<'de> for IndexCount
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
Source§impl PartialEq for IndexCount
impl PartialEq for IndexCount
Source§impl Serialize for IndexCount
impl Serialize for IndexCount
impl StructuralPartialEq for IndexCount
Auto Trait Implementations§
impl Freeze for IndexCount
impl RefUnwindSafe for IndexCount
impl Send for IndexCount
impl Sync for IndexCount
impl Unpin for IndexCount
impl UnsafeUnpin for IndexCount
impl UnwindSafe for IndexCount
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