pub struct SearchIndexEntry { /* private fields */ }Expand description
Compact search index record serialized into search-index.json and embedded client search.
Implementations§
Source§impl SearchIndexEntry
impl SearchIndexEntry
pub fn get_route(&self) -> &String
pub fn get_title(&self) -> &String
pub fn get_section(&self) -> &String
pub fn get_summary(&self) -> &String
pub fn get_headings(&self) -> &Vec<String>
pub fn get_excerpt(&self) -> &String
Trait Implementations§
Source§impl Clone for SearchIndexEntry
impl Clone for SearchIndexEntry
Source§impl Debug for SearchIndexEntry
impl Debug for SearchIndexEntry
Source§impl<'de> Deserialize<'de> for SearchIndexEntry
impl<'de> Deserialize<'de> for SearchIndexEntry
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
impl Eq for SearchIndexEntry
Source§impl PartialEq for SearchIndexEntry
impl PartialEq for SearchIndexEntry
Source§impl Serialize for SearchIndexEntry
impl Serialize for SearchIndexEntry
impl StructuralPartialEq for SearchIndexEntry
Auto Trait Implementations§
impl Forget for SearchIndexEntry
impl Freeze for SearchIndexEntry
impl Move for SearchIndexEntry
impl RefUnwindSafe for SearchIndexEntry
impl Send for SearchIndexEntrywhere
RawVecInner: Send,
impl Sync for SearchIndexEntrywhere
RawVecInner: Sync,
impl Unpin for SearchIndexEntry
impl UnsafeUnpin for SearchIndexEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SearchIndexEntrywhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.