pub struct KbSearchHit {
pub answer_id: Option<u64>,
pub translation_id: u64,
pub title: Option<String>,
pub category: Option<String>,
pub snippet: Option<String>,
pub url: Option<String>,
}Expand description
A single full-text search hit.
Fields§
§answer_id: Option<u64>Stable answer id, resolved from the matched translation. None only if
the translation could not be found in the structure payload.
translation_id: u64Id of the answer translation that matched.
title: Option<String>Answer title (search highlight markers stripped).
category: Option<String>Category the answer sits under.
snippet: Option<String>A snippet of the body around the match (highlight markers stripped).
url: Option<String>Relative help-center URL of the answer.
Trait Implementations§
Source§impl Clone for KbSearchHit
impl Clone for KbSearchHit
Auto Trait Implementations§
impl Freeze for KbSearchHit
impl RefUnwindSafe for KbSearchHit
impl Send for KbSearchHit
impl Sync for KbSearchHit
impl Unpin for KbSearchHit
impl UnsafeUnpin for KbSearchHit
impl UnwindSafe for KbSearchHit
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