pub struct FileUploadResponse {
pub success: bool,
pub filename: String,
pub collection_name: String,
pub chunks_created: u32,
pub vectors_created: u32,
pub file_size: u64,
pub language: String,
pub processing_time_ms: u64,
}Expand description
Response from file upload operation
Fields§
§success: boolWhether the upload was successful
filename: StringOriginal filename
collection_name: StringTarget collection
chunks_created: u32Number of chunks created from the file
vectors_created: u32Number of vectors created and stored
file_size: u64File size in bytes
language: StringDetected language/file type
processing_time_ms: u64Processing time in milliseconds
Trait Implementations§
Source§impl Clone for FileUploadResponse
impl Clone for FileUploadResponse
Source§fn clone(&self) -> FileUploadResponse
fn clone(&self) -> FileUploadResponse
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 FileUploadResponse
impl Debug for FileUploadResponse
Source§impl<'de> Deserialize<'de> for FileUploadResponse
impl<'de> Deserialize<'de> for FileUploadResponse
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 FileUploadResponse
impl RefUnwindSafe for FileUploadResponse
impl Send for FileUploadResponse
impl Sync for FileUploadResponse
impl Unpin for FileUploadResponse
impl UnwindSafe for FileUploadResponse
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