pub struct EntitySearchResult {
pub entity: Entity,
pub distance: f32,
}Expand description
An entity search result with distance score.
Fields§
§entity: Entity§distance: f32Trait Implementations§
Source§impl Clone for EntitySearchResult
impl Clone for EntitySearchResult
Source§fn clone(&self) -> EntitySearchResult
fn clone(&self) -> EntitySearchResult
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 EntitySearchResult
impl Debug for EntitySearchResult
Source§impl<'de> Deserialize<'de> for EntitySearchResult
impl<'de> Deserialize<'de> for EntitySearchResult
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
Auto Trait Implementations§
impl Freeze for EntitySearchResult
impl RefUnwindSafe for EntitySearchResult
impl Send for EntitySearchResult
impl Sync for EntitySearchResult
impl Unpin for EntitySearchResult
impl UnsafeUnpin for EntitySearchResult
impl UnwindSafe for EntitySearchResult
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