Expand description
PubMed client for searching and fetching article metadata
This module provides functionality to interact with PubMed E-utilities APIs for searching biomedical literature and retrieving article metadata.
The client functionality is split across focused modules under client:
client/mod.rs- Core client struct, constructors, search, and fetch operationsclient/summary- ESummary API for lightweight article metadataclient/history- History server operations (EPost, fetch from history, streaming)client/einfo- Database information (EInfo API)client/elink- Cross-database linking (ELink API)client/citmatch- Citation matching (ECitMatch API)client/egquery- Global database queries (EGQuery API)client/espell- Spell checking (ESpell API)
Re-exports§
pub use client::PubMedClient;pub use query::ArticleType;pub use query::Language;pub use query::PubDate;pub use query::SearchQuery;pub use query::SortOrder;
Modules§
- client
- export
- Citation export formats for PubMed articles
- models
- parser
- PubMed XML parser module
- query
- Query builder for constructing PubMed search queries with filters
- responses
Structs§
- Abstract
Section - A labeled section within a structured abstract
- Affiliation
- Represents an author’s institutional affiliation
- Article
Summary - Lightweight article summary from the ESummary API
- Author
- Represents a detailed author with enhanced metadata
- Chemical
Concept - Chemical substance mentioned in the article
- Citation
Match - Result of a single citation match from the ECitMatch API
- Citation
Matches - Results from ECitMatch API for batch citation matching
- Citation
Query - Input for a single citation match query
- Citations
- Citation information from ELink API
- Database
Count - Record count for a single NCBI database from the EGQuery API
- Database
Info - Database information from EInfo API
- EPost
Result - Result from EPost API for uploading PMIDs to the NCBI History server
- Field
Info - Information about a database search field
- Global
Query Results - Results from EGQuery API for global database search
- History
Session - History server session information for paginated fetching
- Link
Info - Information about database links
- Mesh
Heading - Complete MeSH heading information for an article
- Mesh
Qualifier - Medical Subject Heading (MeSH) qualifier/subheading
- Mesh
Term - Medical Subject Heading (MeSH) descriptor term
- PmcLinks
- PMC links discovered through ELink API
- PubMed
Article - Represents a PubMed article with metadata
- Related
Articles - Results from ELink API for related article discovery
- Search
Result - Search result with WebEnv session information for history server pagination
- Spell
Check Result - Result from the ESpell API providing spelling suggestions
- Supplemental
Concept - Supplemental MeSH concept (for substances, diseases, etc.)
Enums§
- Citation
Match Status - Status of a citation match result
- Spelled
Query Segment - Represents a segment of the spelled query from the ESpell API
Traits§
- Export
Format - Trait for exporting PubMed articles to various citation formats
Functions§
- parse_
article_ from_ xml - Parse article from EFetch XML response
- parse_
articles_ from_ xml - Parse multiple PubMed articles from EFetch XML response