pub struct TextSearchHit {
pub subject_id: Uuid,
pub score: DeterministicScore,
pub rank: u32,
pub title: Option<String>,
pub snippet: Option<String>,
}Fields§
§subject_id: Uuid§score: DeterministicScore§rank: u32§title: Option<String>§snippet: Option<String>Trait Implementations§
Source§impl Clone for TextSearchHit
impl Clone for TextSearchHit
Source§fn clone(&self) -> TextSearchHit
fn clone(&self) -> TextSearchHit
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 TextSearchHit
impl Debug for TextSearchHit
Source§impl<'de> Deserialize<'de> for TextSearchHit
impl<'de> Deserialize<'de> for TextSearchHit
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 TextSearchHit
impl RefUnwindSafe for TextSearchHit
impl Send for TextSearchHit
impl Sync for TextSearchHit
impl Unpin for TextSearchHit
impl UnsafeUnpin for TextSearchHit
impl UnwindSafe for TextSearchHit
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