[][src]Enum places::api::matcher::MatchReason

pub enum MatchReason {
    Keyword,
    Origin,
    Url,
    PreviousUse,
    Bookmark,
    Tags(String),
}

The match reason specifies why an autocomplete search result matched a query. This can be used to filter and sort matches.

Variants

Keyword
Origin
Url
PreviousUse
Bookmark
Tags(String)

Trait Implementations

impl Clone for MatchReason[src]

impl Debug for MatchReason[src]

impl Eq for MatchReason[src]

impl From<MatchReason> for SearchResultReason[src]

impl PartialEq<MatchReason> for MatchReason[src]

impl Serialize for MatchReason[src]

impl StructuralEq for MatchReason[src]

impl StructuralPartialEq for MatchReason[src]

Auto Trait Implementations

impl RefUnwindSafe for MatchReason

impl Send for MatchReason

impl Sync for MatchReason

impl Unpin for MatchReason

impl UnwindSafe for MatchReason

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,