pub struct VectorStoreFileBatchObject {
pub id: String,
pub created_at: u64,
pub vector_store_id: String,
pub status: VectorStoreFileBatchObjectStatus,
pub file_counts: VectorStoreFileBatchObjectFileCounts,
}
Expand description
A batch of files attached to a vector store.
Fields§
§id: String
The identifier, which can be referenced in API endpoints.
created_at: u64
The Unix timestamp (in seconds) for when the vector store files batch was created.
vector_store_id: String
The ID of the vector store that the File is attached to.
status: VectorStoreFileBatchObjectStatus
The status of the vector store files batch, which can be either in_progress
, completed
, cancelled
or failed
.
file_counts: VectorStoreFileBatchObjectFileCounts
Implementations§
Source§impl VectorStoreFileBatchObject
impl VectorStoreFileBatchObject
Sourcepub fn builder() -> VectorStoreFileBatchObjectBuilder<((), (), (), (), ())>
pub fn builder() -> VectorStoreFileBatchObjectBuilder<((), (), (), (), ())>
Create a builder for building VectorStoreFileBatchObject
.
On the builder, call .id(...)
, .created_at(...)
, .vector_store_id(...)
, .status(...)
, .file_counts(...)
to set the values of the fields.
Finally, call .build()
to create the instance of VectorStoreFileBatchObject
.
Trait Implementations§
Source§impl Clone for VectorStoreFileBatchObject
impl Clone for VectorStoreFileBatchObject
Source§fn clone(&self) -> VectorStoreFileBatchObject
fn clone(&self) -> VectorStoreFileBatchObject
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 VectorStoreFileBatchObject
impl Debug for VectorStoreFileBatchObject
Source§impl<'de> Deserialize<'de> for VectorStoreFileBatchObject
impl<'de> Deserialize<'de> for VectorStoreFileBatchObject
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 StructuralPartialEq for VectorStoreFileBatchObject
Auto Trait Implementations§
impl Freeze for VectorStoreFileBatchObject
impl RefUnwindSafe for VectorStoreFileBatchObject
impl Send for VectorStoreFileBatchObject
impl Sync for VectorStoreFileBatchObject
impl Unpin for VectorStoreFileBatchObject
impl UnwindSafe for VectorStoreFileBatchObject
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