pub struct Collection {Show 13 fields
pub name: String,
pub dimension: usize,
pub metric: Option<String>,
pub description: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub vector_count: usize,
pub document_count: usize,
pub embedding_provider: Option<String>,
pub indexing_status: Option<Value>,
pub normalization: Option<Value>,
pub quantization: Option<Value>,
pub size: Option<Value>,
}Expand description
Collection representation
Fields§
§name: StringCollection name
dimension: usizeVector dimension
metric: Option<String>Similarity metric used for search (API may return as ‘metric’)
description: Option<String>Optional description
created_at: Option<String>Creation timestamp
updated_at: Option<String>Last update timestamp
vector_count: usizeVector count
document_count: usizeDocument count
embedding_provider: Option<String>Embedding provider
indexing_status: Option<Value>Indexing status
normalization: Option<Value>Normalization config
quantization: Option<Value>Quantization config
size: Option<Value>Size info
Trait Implementations§
Source§impl Clone for Collection
impl Clone for Collection
Source§fn clone(&self) -> Collection
fn clone(&self) -> Collection
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 Collection
impl Debug for Collection
Source§impl<'de> Deserialize<'de> for Collection
impl<'de> Deserialize<'de> for Collection
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 Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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