[−][src]Struct cranky::Qid
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]
fn partial_cmp(&self, other: &Qid) -> Option<Ordering>
[src]
fn lt(&self, other: &Qid) -> bool
[src]
fn le(&self, other: &Qid) -> bool
[src]
fn gt(&self, other: &Qid) -> bool
[src]
fn ge(&self, other: &Qid) -> bool
[src]
impl PartialEq<Qid> for Qid
[src]
impl Ord for Qid
[src]
fn cmp(&self, other: &Qid) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,