pub struct DataSourceClients {Show 15 fields
pub openalex: Arc<OpenAlexClient>,
pub arxiv: Arc<ArxivClient>,
pub semantic_scholar: Arc<SemanticScholarClient>,
pub crossref: Arc<CrossRefClient>,
pub biorxiv: Arc<BiorxivClient>,
pub medrxiv: Arc<MedrxivClient>,
pub pubmed: Arc<PubMedClient>,
pub clinical_trials: Arc<ClinicalTrialsClient>,
pub fda: Arc<FdaClient>,
pub fred: Arc<FredClient>,
pub worldbank: Arc<WorldBankClient>,
pub noaa: Arc<NoaaClient>,
pub wikipedia: Arc<WikipediaClient>,
pub wikidata: Arc<WikidataClient>,
pub embedder: Arc<SimpleEmbedder>,
}Expand description
Container for all data source API clients
Fields§
§openalex: Arc<OpenAlexClient>§arxiv: Arc<ArxivClient>§semantic_scholar: Arc<SemanticScholarClient>§crossref: Arc<CrossRefClient>§biorxiv: Arc<BiorxivClient>§medrxiv: Arc<MedrxivClient>§pubmed: Arc<PubMedClient>§clinical_trials: Arc<ClinicalTrialsClient>§fda: Arc<FdaClient>§fred: Arc<FredClient>§worldbank: Arc<WorldBankClient>§noaa: Arc<NoaaClient>§wikipedia: Arc<WikipediaClient>§wikidata: Arc<WikidataClient>§embedder: Arc<SimpleEmbedder>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataSourceClients
impl !RefUnwindSafe for DataSourceClients
impl Send for DataSourceClients
impl Sync for DataSourceClients
impl Unpin for DataSourceClients
impl !UnwindSafe for DataSourceClients
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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