pub struct RetrievalHit {
pub entity: EntityId,
pub channel: RetrievalChannel,
pub score: u32,
}Fields§
§entity: EntityId§channel: RetrievalChannel§score: u32Implementations§
Source§impl RetrievalHit
impl RetrievalHit
pub const fn new( entity: EntityId, channel: RetrievalChannel, score: u32, ) -> Self
Trait Implementations§
Source§impl Clone for RetrievalHit
impl Clone for RetrievalHit
Source§fn clone(&self) -> RetrievalHit
fn clone(&self) -> RetrievalHit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetrievalHit
impl Debug for RetrievalHit
Source§impl<'de> Deserialize<'de> for RetrievalHit
impl<'de> Deserialize<'de> for RetrievalHit
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 RetrievalHit
Source§impl PartialEq for RetrievalHit
impl PartialEq for RetrievalHit
Source§impl Serialize for RetrievalHit
impl Serialize for RetrievalHit
impl StructuralPartialEq for RetrievalHit
Auto Trait Implementations§
impl Freeze for RetrievalHit
impl RefUnwindSafe for RetrievalHit
impl Send for RetrievalHit
impl Sync for RetrievalHit
impl Unpin for RetrievalHit
impl UnsafeUnpin for RetrievalHit
impl UnwindSafe for RetrievalHit
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