pub struct DocumentResponse {
pub docid: String,
pub path: String,
pub title: String,
pub space: String,
pub collection: String,
pub content: String,
pub stale: bool,
pub total_lines: usize,
pub returned_lines: usize,
}Fields§
§docid: String§path: String§title: String§space: String§collection: String§content: String§stale: bool§total_lines: usize§returned_lines: usizeTrait Implementations§
Source§impl Clone for DocumentResponse
impl Clone for DocumentResponse
Source§fn clone(&self) -> DocumentResponse
fn clone(&self) -> DocumentResponse
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 DocumentResponse
impl Debug for DocumentResponse
Source§impl<'de> Deserialize<'de> for DocumentResponse
impl<'de> Deserialize<'de> for DocumentResponse
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 DocumentResponse
impl PartialEq for DocumentResponse
Source§impl Serialize for DocumentResponse
impl Serialize for DocumentResponse
impl StructuralPartialEq for DocumentResponse
Auto Trait Implementations§
impl Freeze for DocumentResponse
impl RefUnwindSafe for DocumentResponse
impl Send for DocumentResponse
impl Sync for DocumentResponse
impl Unpin for DocumentResponse
impl UnsafeUnpin for DocumentResponse
impl UnwindSafe for DocumentResponse
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