ig_client/session/response.rs
1/// Response structure for session-related API calls
2#[derive(serde::Deserialize)]
3pub struct SessionResp {
4 /// Account ID associated with the session
5 #[serde(alias = "accountId")]
6 #[serde(alias = "currentAccountId")]
7 pub account_id: String,
8
9 /// Client ID provided by the API
10 #[serde(alias = "clientId")]
11 pub client_id: Option<String>,
12 /// Timezone offset in hours
13 #[serde(alias = "timezoneOffset")]
14 pub timezone_offset: Option<i32>,
15}