1 2 3 4 5 6 7 8 9 10 11
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct FetchApiKeyUsageResponse { #[serde(rename = "count")] pub count: i64, } impl FetchApiKeyUsageResponse { pub fn new(count: i64) -> Self { Self { count } } }