rinance_dtos 2.0.3

Rinance Dtos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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,
}