useserde::{Deserialize, Serialize};/// Rate limit information from API headers.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]pubstructRateLimit{/// The rate limit bucket
pubbucket:Option<String>,
/// The number of requests allowed per window
publimit:u32,
/// The number of requests remaining in the current window
pubremaining:u32,
/// The time when the rate limit resets (Unix timestamp)
pubreset:u64,
/// The time after which to retry (in seconds)
pubretry_after:Option<u64>,
}