openapi-rs 0.1.4

A type-safe Rust client library for building, signing, and sending API requests with minimal boilerplate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(default)]
pub struct Zone {
    #[serde(rename = "HPCEndpoint")]
    pub hpc_endpoint: String,
    #[serde(rename = "StorageEndpoint")]
    pub storage_endpoint: String,
    #[serde(rename = "CloudAppEnable")]
    pub cloud_app_enable: bool,
    #[serde(rename = "SyncRunnerEndpoint")]
    pub sync_runner_endpoint: String,
}