pub struct GetArticlesParams {Show 18 fields
pub query: Option<String>,
pub source: Option<String>,
pub sources: Option<Vec<String>>,
pub exclude_sources: Option<Vec<String>>,
pub opt_in_sources: Option<Vec<String>>,
pub from: Option<String>,
pub to: Option<String>,
pub language: Option<String>,
pub tickers: Option<Vec<String>>,
pub include_entities: Option<bool>,
pub exclude_empty_content: Option<bool>,
pub include_content: Option<bool>,
pub order_by: Option<OrderBy>,
pub order: Option<SortOrder>,
pub page_size: Option<u32>,
pub page: Option<u32>,
pub countries: Option<Vec<String>>,
pub categories: Option<Vec<Category>>,
}Expand description
Search parameters for ArticleService::fetch_articles.
None fields are omitted from the request; the server applies its
documented defaults.
Fields§
§query: Option<String>Query in the finlight query language, e.g.
(ticker:AAPL OR ticker:NVDA) AND NOT source:www.reuters.com AND "Elon Musk".
source: Option<String>Deprecated: use sources.
sources: Option<Vec<String>>Restrict results to these source domains.
exclude_sources: Option<Vec<String>>Exclude these source domains.
opt_in_sources: Option<Vec<String>>Include these non-default sources.
from: Option<String>Earliest publish date, YYYY-MM-DD or ISO 8601.
to: Option<String>Latest publish date, YYYY-MM-DD or ISO 8601.
language: Option<String>ISO 639-1 language code.
tickers: Option<Vec<String>>Restrict results to articles mentioning these tickers.
include_entities: Option<bool>Include recognized entities in the response.
exclude_empty_content: Option<bool>Skip articles without content.
include_content: Option<bool>Include full article content in the response.
order_by: Option<OrderBy>Sort field.
order: Option<SortOrder>Sort direction.
page_size: Option<u32>Page size, 1–1000.
page: Option<u32>Page number, starting at 1.
countries: Option<Vec<String>>Restrict results to these countries.
categories: Option<Vec<Category>>Restrict results to these categories.
Trait Implementations§
Source§impl Clone for GetArticlesParams
impl Clone for GetArticlesParams
Source§fn clone(&self) -> GetArticlesParams
fn clone(&self) -> GetArticlesParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more