pub enum Provider {
}Expand description
Where results can come from.
Variants§
DuckDuckGo
DuckDuckGo’s HTML endpoint.
Arxiv
arXiv’s Atom API — preprints in physics, maths, CS and related fields.
OpenAlex
OpenAlex, the open index of scholarly works across every discipline.
Crossref
Crossref, the DOI registry’s metadata index.
EuropePmc
Europe PMC — the life-sciences literature, including PubMed, PMC and preprints, in a single request.
HackerNews
Hacker News, through the Algolia index behind its own search.
StackExchange(String)
Stack Exchange search over one site, by site key (stackoverflow by
default).
GitHub
GitHub repository search.
Wikipedia(String)
The MediaWiki search API for a given language code.
SearxNG(String)
A SearXNG instance, by base URL.
Rss(String)
An RSS or Atom feed, by URL.
Sitemap(String)
A sitemap.xml or sitemap index, by URL.
Index(String)
An HTML listing page — a front page, archive or feed rendered for people — harvested for the links it offers.
Implementations§
Trait Implementations§
impl Eq for Provider
impl StructuralPartialEq for Provider
Auto Trait Implementations§
impl Forget for Provider
impl Freeze for Provider
impl Move for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more