pub struct Article {Show 16 fields
pub link: String,
pub title: String,
pub publish_date: DateTime<Utc>,
pub source: String,
pub language: String,
pub summary: Option<String>,
pub images: Vec<String>,
pub created_at: Option<DateTime<Utc>>,
pub revised_date: Option<DateTime<Utc>>,
pub is_update: Option<bool>,
pub categories: Vec<String>,
pub sentiment: Option<String>,
pub confidence: Option<f64>,
pub content: Option<String>,
pub companies: Vec<Company>,
pub countries: Vec<String>,
}Expand description
An enriched news article as returned by the REST API, the enhanced WebSocket stream, and webhooks.
Fields§
§link: StringCanonical URL of the article.
title: StringHeadline.
publish_date: DateTime<Utc>Publication timestamp. The API’s timestamp formats (RFC 3339 with or without zone, space-separated, date-only) are all accepted.
source: StringSource domain, e.g. www.reuters.com.
language: StringISO 639-1 language code.
summary: Option<String>Article summary.
images: Vec<String>Image URLs.
created_at: Option<DateTime<Utc>>When finlight first stored the article.
revised_date: Option<DateTime<Utc>>When the article was last revised by its publisher.
is_update: Option<bool>Whether this delivery is an update to a previously seen article.
categories: Vec<String>Categories assigned by finlight’s classification.
sentiment: Option<String>Sentiment label (positive, negative, neutral).
confidence: Option<f64>Sentiment confidence in [0, 1]; accepted both as number and string.
content: Option<String>Full article content (when requested and available).
companies: Vec<Company>Companies recognized in the article (when requested).
countries: Vec<String>Countries the article relates to.