1use serde::{Deserialize, Serialize};
4
5#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
7#[serde(rename_all = "camelCase")]
8pub struct NewsArticle {
9 pub symbol: Option<String>,
10 pub published_date: String,
11 pub title: String,
12 pub image: String,
13 pub site: String,
14 pub text: String,
15 pub url: String,
16}
17
18#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
20#[serde(rename_all = "camelCase")]
21pub struct PressRelease {
22 pub symbol: String,
23 pub date: String,
24 pub title: String,
25 pub text: String,
26}