pub struct IndexingStatus {
pub status: String,
pub progress: f32,
pub total_documents: usize,
pub processed_documents: usize,
pub vector_count: usize,
pub estimated_time_remaining: Option<String>,
pub last_updated: String,
}Expand description
Indexing status.
Every field carries #[serde(default)] to match the tolerant
posture of the parent CollectionInfo — the v3 server emits a
subset of this shape (status/progress/total_documents/
processed_documents plus some extra keys this struct doesn’t
model) and omits vector_count and last_updated, which used to
make serde_json::from_str::<CollectionInfo> fail on a
Collection → JSON → CollectionInfo round-trip through
Collection::indexing_status: Option<serde_json::Value> that
preserves the server’s partial shape.
Fields§
§status: StringStatus
progress: f32Progress percentage
total_documents: usizeTotal documents
processed_documents: usizeProcessed documents
vector_count: usizeVector count
estimated_time_remaining: Option<String>Estimated time remaining
last_updated: StringLast updated timestamp
Trait Implementations§
Source§impl Clone for IndexingStatus
impl Clone for IndexingStatus
Source§fn clone(&self) -> IndexingStatus
fn clone(&self) -> IndexingStatus
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 IndexingStatus
impl Debug for IndexingStatus
Source§impl<'de> Deserialize<'de> for IndexingStatus
impl<'de> Deserialize<'de> for IndexingStatus
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 IndexingStatus
impl RefUnwindSafe for IndexingStatus
impl Send for IndexingStatus
impl Sync for IndexingStatus
impl Unpin for IndexingStatus
impl UnsafeUnpin for IndexingStatus
impl UnwindSafe for IndexingStatus
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request