use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Ownership {
pub name: String,
pub share: i64,
pub change: Option<i64>,
#[serde(rename = "filingDate")]
pub filing_date: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct OwnershipData {
pub symbol: String,
pub ownership: Vec<Ownership>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FundOwnership {
pub symbol: String,
pub ownership: Vec<FundOwner>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FundOwner {
pub name: String,
pub share: i64,
pub change: i64,
#[serde(rename = "filingDate")]
pub filing_date: String,
#[serde(rename = "portfolioPercent")]
pub portfolio_percent: Option<f64>,
}