pub struct BatchMetadata {
pub total_items: usize,
pub successful_items: usize,
pub failed_items: HashMap<String, String>,
pub duration_ms: u64,
pub model: String,
pub provider: String,
}Expand description
Metadata for batch processing
Fields§
§total_items: usizeTotal items processed
successful_items: usizeSuccessfully processed items
failed_items: HashMap<String, String>Failed items with error messages
duration_ms: u64Processing duration in milliseconds
model: StringModel used for embedding
provider: StringProvider used
Trait Implementations§
Source§impl Clone for BatchMetadata
impl Clone for BatchMetadata
Source§fn clone(&self) -> BatchMetadata
fn clone(&self) -> BatchMetadata
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 BatchMetadata
impl Debug for BatchMetadata
Source§impl<'de> Deserialize<'de> for BatchMetadata
impl<'de> Deserialize<'de> for BatchMetadata
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 BatchMetadata
impl RefUnwindSafe for BatchMetadata
impl Send for BatchMetadata
impl Sync for BatchMetadata
impl Unpin for BatchMetadata
impl UnwindSafe for BatchMetadata
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