#[non_exhaustive]pub struct VectorStoreFileCounts {
pub in_progress: u64,
pub completed: u64,
pub failed: u64,
pub cancelled: u64,
pub total: u64,
}Expand description
EN: File count summary for a vector store. 中文:向量存储的文件数量汇总。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.in_progress: u64EN: Number of files still processing. 中文:仍在处理的文件数量。
completed: u64EN: Number of completed files. 中文:已完成文件数量。
failed: u64EN: Number of failed files. 中文:失败文件数量。
cancelled: u64EN: Number of cancelled files. 中文:已取消文件数量。
total: u64EN: Total file count. 中文:文件总数。
Trait Implementations§
Source§impl Clone for VectorStoreFileCounts
impl Clone for VectorStoreFileCounts
Source§fn clone(&self) -> VectorStoreFileCounts
fn clone(&self) -> VectorStoreFileCounts
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 VectorStoreFileCounts
impl Debug for VectorStoreFileCounts
Source§impl Default for VectorStoreFileCounts
impl Default for VectorStoreFileCounts
Source§fn default() -> VectorStoreFileCounts
fn default() -> VectorStoreFileCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorStoreFileCounts
impl<'de> Deserialize<'de> for VectorStoreFileCounts
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 VectorStoreFileCounts
Source§impl PartialEq for VectorStoreFileCounts
impl PartialEq for VectorStoreFileCounts
Source§fn eq(&self, other: &VectorStoreFileCounts) -> bool
fn eq(&self, other: &VectorStoreFileCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VectorStoreFileCounts
impl Serialize for VectorStoreFileCounts
impl StructuralPartialEq for VectorStoreFileCounts
Auto Trait Implementations§
impl Freeze for VectorStoreFileCounts
impl RefUnwindSafe for VectorStoreFileCounts
impl Send for VectorStoreFileCounts
impl Sync for VectorStoreFileCounts
impl Unpin for VectorStoreFileCounts
impl UnsafeUnpin for VectorStoreFileCounts
impl UnwindSafe for VectorStoreFileCounts
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.