Skip to main content

finance_query/models/corporate/
press_release.rs

1//! Company press-release model.
2//!
3//! Served through the [`Capability::CORPORATE`](crate::Capability::CORPORATE)
4//! route; FMP is currently the only provider. Distinct from
5//! [`News`](super::news::News) — these are the company's own releases, not
6//! press coverage.
7
8use serde::{Deserialize, Serialize};
9
10/// A company press release.
11#[derive(Debug, Clone, Default, Serialize, Deserialize)]
12#[non_exhaustive]
13pub struct PressRelease {
14    /// Ticker symbol.
15    pub symbol: Option<String>,
16    /// Publication date/time as reported by the provider.
17    pub date: Option<String>,
18    /// Release title.
19    pub title: Option<String>,
20    /// Full release text.
21    pub text: Option<String>,
22}