pub struct ChunkResponse {
pub locator: String,
pub docid: String,
pub chunk_ordinal: usize,
pub path: String,
pub title: String,
pub space: String,
pub collection: String,
pub heading: Option<String>,
pub content: String,
pub stale: bool,
pub total_lines: usize,
pub returned_lines: usize,
}Fields§
§locator: String§docid: String§chunk_ordinal: usize§path: String§title: String§space: String§collection: String§heading: Option<String>§content: String§stale: bool§total_lines: usize§returned_lines: usizeTrait 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 (const: unstable) · 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
Source§impl PartialEq for ChunkResponse
impl PartialEq for ChunkResponse
Source§fn eq(&self, other: &ChunkResponse) -> bool
fn eq(&self, other: &ChunkResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChunkResponse
impl Serialize for ChunkResponse
impl StructuralPartialEq 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 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