pub struct DocumentCollection {
pub id: String,
pub name: String,
pub description: Option<String>,
pub status: CollectionStatus,
pub created_at: Option<SystemTime>,
pub updated_at: Option<SystemTime>,
pub document_count: u32,
pub vector_index: Option<VectorIndexConfig>,
}Expand description
Document collection for knowledge base
Fields§
§id: StringCollection ID
name: StringCollection name
description: Option<String>Collection description
status: CollectionStatusCollection status
created_at: Option<SystemTime>Created timestamp
updated_at: Option<SystemTime>Updated timestamp
document_count: u32Document count
vector_index: Option<VectorIndexConfig>Vector index configuration
Trait Implementations§
Source§impl Clone for DocumentCollection
impl Clone for DocumentCollection
Source§fn clone(&self) -> DocumentCollection
fn clone(&self) -> DocumentCollection
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 DocumentCollection
impl Debug for DocumentCollection
Source§impl<'de> Deserialize<'de> for DocumentCollection
impl<'de> Deserialize<'de> for DocumentCollection
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 DocumentCollection
impl RefUnwindSafe for DocumentCollection
impl Send for DocumentCollection
impl Sync for DocumentCollection
impl Unpin for DocumentCollection
impl UnwindSafe for DocumentCollection
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