pub struct VectorStore {
pub id: String,
pub object: String,
pub created_at: u32,
pub name: Option<String>,
pub usage_bytes: u64,
pub file_counts: VectorStoreFileCounts,
pub status: VectorStoreStatus,
pub expires_after: Option<VectorStoreExpirationAfter>,
pub expires_at: Option<u32>,
pub last_active_at: Option<u32>,
pub metadata: Option<HashMap<String, String>>,
}Fields§
§id: StringThe identifier, which can be referenced in API endpoints.
object: StringThe object type, which is always vector_store.
created_at: u32The Unix timestamp (in seconds) for when the vector store was created.
name: Option<String>The name of the vector store.
usage_bytes: u64The total number of bytes used by the files in the vector store.
file_counts: VectorStoreFileCountsThe number of files in the vector store per status.
status: VectorStoreStatusThe status of the vector store.
expires_after: Option<VectorStoreExpirationAfter>The expiration policy for a vector store.
expires_at: Option<u32>The Unix timestamp (in seconds) for when the vector store will expire.
last_active_at: Option<u32>The Unix timestamp (in seconds) for when the vector store was last active.
metadata: Option<HashMap<String, String>>Set of 16 key-value pairs that can be attached to an object.
Trait Implementations§
Source§impl Clone for VectorStore
impl Clone for VectorStore
Source§fn clone(&self) -> VectorStore
fn clone(&self) -> VectorStore
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 VectorStore
impl Debug for VectorStore
Source§impl<'de> Deserialize<'de> for VectorStore
impl<'de> Deserialize<'de> for VectorStore
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 VectorStore
impl PartialEq for VectorStore
Source§impl Serialize for VectorStore
impl Serialize for VectorStore
impl StructuralPartialEq for VectorStore
Auto Trait Implementations§
impl Freeze for VectorStore
impl RefUnwindSafe for VectorStore
impl Send for VectorStore
impl Sync for VectorStore
impl Unpin for VectorStore
impl UnsafeUnpin for VectorStore
impl UnwindSafe for VectorStore
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