[−][src]Struct places::api::matcher::SearchResult
Fields
search_string: String
The search string for this match.
url: Url
The URL to open when the user confirms a match. This is
equivalent to nsIAutoCompleteResult.getFinalCompleteValueAt
.
title: String
The title of the autocompleted value, to show in the UI. This can be the title of the bookmark or page, origin, URL, or URL fragment.
icon_url: Option<Url>
The favicon URL.
frecency: i64
A frecency score for this match.
reasons: Vec<MatchReason>
A list of reasons why this matched.
Implementations
impl SearchResult
[src][−]
pub fn from_adaptive_row(row: &Row<'_>) -> Result<Self>
[src][−]
Default search behaviors from Desktop: HISTORY, BOOKMARK, OPENPAGE, SEARCHES. Default match behavior: MATCH_BOUNDARY_ANYWHERE.
pub fn from_suggestion_row(row: &Row<'_>) -> Result<Self>
[src]
pub fn from_origin_row(row: &Row<'_>) -> Result<Self>
[src]
pub fn from_url_row(row: &Row<'_>) -> Result<Self>
[src]
Trait Implementations
impl Clone for SearchResult
[src][+]
impl Debug for SearchResult
[src][+]
impl Eq for SearchResult
[src]
impl From<SearchResult> for SearchResultMessage
[src][+]
impl PartialEq<SearchResult> for SearchResult
[src][+]
impl Serialize for SearchResult
[src][+]
impl StructuralEq for SearchResult
[src]
impl StructuralPartialEq for SearchResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,