1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![allow(missing_docs)]
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct CompaniesPublicTreasury {
pub total_holdings: f64,
pub total_value_usd: f64,
pub market_cap_dominance: f64,
pub companies: Vec<Company>,
}
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Company {
pub name: String,
pub symbol: String,
pub country: String,
pub total_holdings: f64,
pub total_entry_value_usd: f64,
pub total_current_value_usd: f64,
pub percentage_of_total_supply: f64,
}