pub struct FtsResult {
pub id: String,
pub collection_id: String,
pub snippet: String,
pub rank: f64,
pub metadata: Option<Value>,
}Expand description
A full-text search result
Fields§
§id: String§collection_id: String§snippet: String§rank: f64§metadata: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FtsResult
impl<'de> Deserialize<'de> for FtsResult
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 FtsResult
impl RefUnwindSafe for FtsResult
impl Send for FtsResult
impl Sync for FtsResult
impl Unpin for FtsResult
impl UnsafeUnpin for FtsResult
impl UnwindSafe for FtsResult
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