pub struct DocumentResult {
    pub path: String,
    pub score: f64,
    pub metadata: Option<Metadata>,
}Expand description
Query result for top documents
Fields§
§path: String§score: f64§metadata: Option<Metadata>Trait Implementations§
Source§impl Debug for DocumentResult
 
impl Debug for DocumentResult
Source§impl<'de> Deserialize<'de> for DocumentResult
 
impl<'de> Deserialize<'de> for DocumentResult
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 DocumentResult
impl RefUnwindSafe for DocumentResult
impl Send for DocumentResult
impl Sync for DocumentResult
impl Unpin for DocumentResult
impl UnwindSafe for DocumentResult
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