rain_sdk/models/
balances.rs

1//! Models for balance endpoints
2
3use serde::{Deserialize, Serialize};
4
5/// Balance information response
6#[derive(Debug, Clone, Serialize, Deserialize)]
7#[serde(rename_all = "camelCase")]
8pub struct BalanceResponse {
9    pub credit_limit: i64,
10    pub pending_charges: i64,
11    pub posted_charges: i64,
12    pub balance_due: i64,
13    pub spending_power: i64,
14}