soundcloud_rs/models/
config.rs

1/// Configuration for client retry behavior
2#[derive(Debug, Clone)]
3pub struct RetryConfig {
4    pub max_retries: u32,
5    pub retry_on_401: bool,
6}
7
8impl Default for RetryConfig {
9    fn default() -> Self {
10        Self {
11            max_retries: 1,
12            retry_on_401: true,
13        }
14    }
15}
16