pub struct VectorStoreObject {
pub created_at: i32,
pub expires_after: Option<VectorStoreExpirationAfter>,
pub expires_at: Option<i32>,
pub file_counts: VectorStoreObjectFileCounts,
pub id: String,
pub last_active_at: i32,
pub metadata: Metadata,
pub name: String,
pub object: String,
pub status: String,
pub usage_bytes: i32,
}
Fields§
§created_at: i32
The Unix timestamp (in seconds) for when the vector store was created.
expires_after: Option<VectorStoreExpirationAfter>
§expires_at: Option<i32>
The Unix timestamp (in seconds) for when the vector store will expire.
file_counts: VectorStoreObjectFileCounts
§id: String
The identifier, which can be referenced in API endpoints.
last_active_at: i32
The Unix timestamp (in seconds) for when the vector store was last active.
metadata: Metadata
§name: String
The name of the vector store.
object: String
The object type, which is always vector_store
.
status: String
The status of the vector store, which can be either expired
, in_progress
, or completed
. A status of completed
indicates that the vector store is ready for use.
usage_bytes: i32
The total number of bytes used by the files in the vector store.
Trait Implementations§
Source§impl Debug for VectorStoreObject
impl Debug for VectorStoreObject
Source§impl<'de> Deserialize<'de> for VectorStoreObject
impl<'de> Deserialize<'de> for VectorStoreObject
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 VectorStoreObject
impl RefUnwindSafe for VectorStoreObject
impl Send for VectorStoreObject
impl Sync for VectorStoreObject
impl Unpin for VectorStoreObject
impl UnwindSafe for VectorStoreObject
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