pub struct ChunkResponse {
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 ChunkResponse
impl Clone for ChunkResponse
Source§fn clone(&self) -> ChunkResponse
fn clone(&self) -> ChunkResponse
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 ChunkResponse
impl Debug for ChunkResponse
Source§impl<'de> Deserialize<'de> for ChunkResponse
impl<'de> Deserialize<'de> for ChunkResponse
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 ChunkResponse
impl RefUnwindSafe for ChunkResponse
impl Send for ChunkResponse
impl Sync for ChunkResponse
impl Unpin for ChunkResponse
impl UnsafeUnpin for ChunkResponse
impl UnwindSafe for ChunkResponse
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