Struct iqdb::SearchResults
source · pub struct SearchResults {
pub best_match: Option<Match>,
pub possible_matches: Vec<Match>,
}
Expand description
The results of an image search
Fields§
§best_match: Option<Match>
The best match
possible_matches: Vec<Match>
Possible matches
Implementations§
source§impl SearchResults
impl SearchResults
sourcepub fn from_html(html: &Html) -> Result<Self, FromHtmlError>
pub fn from_html(html: &Html) -> Result<Self, FromHtmlError>
Make a SearchResults
from html
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SearchResults
impl Send for SearchResults
impl Sync for SearchResults
impl Unpin for SearchResults
impl UnwindSafe for SearchResults
Blanket Implementations§
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