bunny-api-tokio 0.4.0

Provides access to the Bunny CDN API asynchronously using tokio.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::Deserialize;

/// API Key struct returned by list_api_keys()
#[derive(Deserialize, Debug, Clone)]
#[serde(rename_all = "PascalCase")]
pub struct ApiKey {
    /// API Key ID
    pub id: i32,
    /// API Key
    pub key: String,
    /// ??
    pub roles: Vec<String>,
}