pub struct VectorStoreObjectFileCounts {
pub in_progress: i64,
pub completed: i64,
pub failed: i64,
pub cancelled: i64,
pub total: i64,
}
Fields§
§in_progress: i64
The number of files that are currently being processed.
completed: i64
The number of files that have been successfully processed.
failed: i64
The number of files that have failed to process.
cancelled: i64
The number of files that were cancelled.
total: i64
The total number of files.
Implementations§
Source§impl VectorStoreObjectFileCounts
impl VectorStoreObjectFileCounts
Sourcepub fn builder() -> VectorStoreObjectFileCountsBuilder<((), (), (), (), ())>
pub fn builder() -> VectorStoreObjectFileCountsBuilder<((), (), (), (), ())>
Create a builder for building VectorStoreObjectFileCounts
.
On the builder, call .in_progress(...)
, .completed(...)
, .failed(...)
, .cancelled(...)
, .total(...)
to set the values of the fields.
Finally, call .build()
to create the instance of VectorStoreObjectFileCounts
.
Trait Implementations§
Source§impl Clone for VectorStoreObjectFileCounts
impl Clone for VectorStoreObjectFileCounts
Source§fn clone(&self) -> VectorStoreObjectFileCounts
fn clone(&self) -> VectorStoreObjectFileCounts
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VectorStoreObjectFileCounts
impl Debug for VectorStoreObjectFileCounts
Source§impl<'de> Deserialize<'de> for VectorStoreObjectFileCounts
impl<'de> Deserialize<'de> for VectorStoreObjectFileCounts
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 VectorStoreObjectFileCounts
impl PartialEq for VectorStoreObjectFileCounts
Source§fn eq(&self, other: &VectorStoreObjectFileCounts) -> bool
fn eq(&self, other: &VectorStoreObjectFileCounts) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for VectorStoreObjectFileCounts
impl StructuralPartialEq for VectorStoreObjectFileCounts
Auto Trait Implementations§
impl Freeze for VectorStoreObjectFileCounts
impl RefUnwindSafe for VectorStoreObjectFileCounts
impl Send for VectorStoreObjectFileCounts
impl Sync for VectorStoreObjectFileCounts
impl Unpin for VectorStoreObjectFileCounts
impl UnwindSafe for VectorStoreObjectFileCounts
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