pub struct SearchItem {
pub item_id: i64,
pub created_at: String,
pub score: f64,
pub matched_fields: Vec<String>,
pub preview: String,
pub content_type: Option<String>,
pub validation_status: Option<String>,
}Fields§
§item_id: i64§created_at: String§score: f64§matched_fields: Vec<String>§preview: String§content_type: Option<String>§validation_status: Option<String>Trait Implementations§
Source§impl Clone for SearchItem
impl Clone for SearchItem
Source§fn clone(&self) -> SearchItem
fn clone(&self) -> SearchItem
Returns a duplicate of the value. Read more
1.0.0 · 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 SearchItem
impl Debug for SearchItem
Auto Trait Implementations§
impl Freeze for SearchItem
impl RefUnwindSafe for SearchItem
impl Send for SearchItem
impl Sync for SearchItem
impl Unpin for SearchItem
impl UnsafeUnpin for SearchItem
impl UnwindSafe for SearchItem
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