pub struct KeywordSearchResult {
pub event_id: Uuid,
pub score: f32,
pub event_type: String,
pub entity_id: Option<String>,
pub highlights: Option<String>,
}Expand description
Result of a keyword search
Fields§
§event_id: Uuid§score: f32§event_type: String§entity_id: Option<String>§highlights: Option<String>Trait Implementations§
Source§impl Clone for KeywordSearchResult
impl Clone for KeywordSearchResult
Source§fn clone(&self) -> KeywordSearchResult
fn clone(&self) -> KeywordSearchResult
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 moreAuto Trait Implementations§
impl Freeze for KeywordSearchResult
impl RefUnwindSafe for KeywordSearchResult
impl Send for KeywordSearchResult
impl Sync for KeywordSearchResult
impl Unpin for KeywordSearchResult
impl UnsafeUnpin for KeywordSearchResult
impl UnwindSafe for KeywordSearchResult
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