use serde::{Deserialize, Serialize};

// This is a very raw struct that simply enables us to easily deserialize received results from
// finnhub symbol endpoint. Avoid using this struct as much as possible
#[derive(Serialize, Deserialize, Debug)]
pub struct SymbolFinnhub {
    pub currency: String,
    pub description: String,
    pub display_symbol: String,
    pub figi: String,
    pub isin: String,
    pub mic: String,
    pub share_class_figi: String,
    pub symbol: String,
    pub symbol2: String,
    pub typee: String,
}
