pub struct ChunkResponse {
pub index: i64,
pub text: String,
}Expand description
A single chunk within a DocumentResponse.
Fields§
§index: i64§text: StringTrait 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
Auto Trait Implementations§
impl Freeze for ChunkResponse
impl RefUnwindSafe for ChunkResponse
impl Send for ChunkResponse
impl Sync for ChunkResponse
impl Unpin 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