quiverquant 0.2.2

A crate for accessing the QuiverQuant API.
Documentation
//! Data Types for the Corporate Lobbying DataSet
//!
//! From the QuiverQuant API:
//! > Government lobbying spending by publicly-traded companies.

use super::*;

pub type Lobbying = Vec<CorpLobby>;

#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct CorpLobby {
    /// Company Ticker
    pub ticker: Ticker,
    /// Date
    pub date: Date,
    /// Full name of the lobbying client
    pub client: String,
    /// Category of legislation that is being lobbied for
    pub issue: Option<String>,
    /// Specific piece of legislation being lobbied for
    #[serde(alias = "Specific_Issue")]
    pub specific_issue: Option<String>,
    /// Total $ spent by lobbyist
    pub amount: Option<String>
}