upstox-rust-sdk 0.2.0

SDK to access Upstox's Uplink v2 APIs programmatically
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Deserialize, Serialize, Debug)]
pub struct TokenResponse {
    pub email: String,
    pub exchanges: Vec<String>,
    pub products: Vec<String>,
    pub broker: String,
    pub user_id: String,
    pub user_name: String,
    pub order_types: Vec<String>,
    pub user_type: String,
    pub poa: bool,
    pub is_active: bool,
    pub access_token: String,
    pub extended_token: Option<String>,
}