pub struct ChunkDocumentResponse {
pub chunks: Vec<DocumentChunk>,
pub total_chunks: Option<i32>,
pub cost_ticks: i64,
pub request_id: String,
}Expand description
Response from document chunking.
Fields§
§chunks: Vec<DocumentChunk>Document chunks.
total_chunks: Option<i32>Total number of chunks.
cost_ticks: i64Total cost in ticks.
request_id: StringUnique request identifier.
Trait Implementations§
Source§impl Clone for ChunkDocumentResponse
impl Clone for ChunkDocumentResponse
Source§fn clone(&self) -> ChunkDocumentResponse
fn clone(&self) -> ChunkDocumentResponse
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 ChunkDocumentResponse
impl Debug for ChunkDocumentResponse
Source§impl<'de> Deserialize<'de> for ChunkDocumentResponse
impl<'de> Deserialize<'de> for ChunkDocumentResponse
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 ChunkDocumentResponse
impl RefUnwindSafe for ChunkDocumentResponse
impl Send for ChunkDocumentResponse
impl Sync for ChunkDocumentResponse
impl Unpin for ChunkDocumentResponse
impl UnsafeUnpin for ChunkDocumentResponse
impl UnwindSafe for ChunkDocumentResponse
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