[][src]Struct cranky::Qid

pub struct Qid(pub Rc<String>);

Represents a query ID in TREC format.

The IDs are strings, and therefore can be costly to copy. However, there are typically many records with the same query ID. We use this fact by storing a reference counted pointer instead.

Trait Implementations

impl Eq for Qid[src]

impl PartialOrd<Qid> for Qid[src]

impl PartialEq<Qid> for Qid[src]

impl Ord for Qid[src]

impl From<Rc<String>> for Qid[src]

impl Debug for Qid[src]

Auto Trait Implementations

impl !Send for Qid

impl Unpin for Qid

impl !Sync for Qid

impl UnwindSafe for Qid

impl !RefUnwindSafe for Qid

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]