pub struct Fields {
pub id: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
}Expand description
Fields holds the fields of a document that an index entry needs.
Fields§
§id: Option<String>The id value.
title: Option<String>The title value.
description: Option<String>The description value.
Trait Implementations§
impl Eq for Fields
impl StructuralPartialEq for Fields
Auto Trait Implementations§
impl Forget for Fields
impl Freeze for Fields
impl Move for Fields
impl RefUnwindSafe for Fields
impl Send for Fields
impl Sync for Fields
impl Unpin for Fields
impl UnsafeUnpin for Fields
impl UnwindSafe for Fields
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,
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.