pub struct SubjectRank {
pub subject: String,
pub rank: u32,
}Expand description
A result’s place in a subject: the subject’s key encoding (<host>/catalog/subject(domain:"..",...)) and the result’s
catalogue rank in it (1 first).
Fields§
§subject: StringThe subject’s key encoding.
rank: u32The catalogue rank, from 1.
Trait Implementations§
Source§impl Clone for SubjectRank
impl Clone for SubjectRank
Source§impl Debug for SubjectRank
impl Debug for SubjectRank
impl Eq for SubjectRank
Source§impl PartialEq for SubjectRank
impl PartialEq for SubjectRank
impl StructuralPartialEq for SubjectRank
Auto Trait Implementations§
impl Forget for SubjectRank
impl Freeze for SubjectRank
impl Move for SubjectRank
impl RefUnwindSafe for SubjectRank
impl Send for SubjectRankwhere
RawVecInner: Send,
impl Sync for SubjectRankwhere
RawVecInner: Sync,
impl Unpin for SubjectRank
impl UnsafeUnpin for SubjectRank
impl UnwindSafe for SubjectRankwhere
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.