pub struct FindKey {
pub match_type: u8,
pub score: f64,
pub kind: u8,
pub name: String,
pub subject: Option<SubjectRank>,
}Expand description
What the order knows of one result. Names are unique within one answer.
Fields§
§match_type: u80 exact, 1 text, 2 vector.
score: f64The score (higher first); finite.
kind: u80 class, 1 method, 2 function.
name: StringThe full name.
subject: Option<SubjectRank>The result’s subject and rank, when it is in one.
Trait Implementations§
impl StructuralPartialEq for FindKey
Auto Trait Implementations§
impl Forget for FindKey
impl Freeze for FindKey
impl Move for FindKey
impl RefUnwindSafe for FindKey
impl Send for FindKeywhere
RawVecInner: Send,
impl Sync for FindKeywhere
RawVecInner: Sync,
impl Unpin for FindKey
impl UnsafeUnpin for FindKey
impl UnwindSafe for FindKeywhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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