upcloud-rs 0.1.4

A pure Rust Upcloud API binding.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::Deserialize;

#[derive(Deserialize, Debug)]
pub struct UpcloudApiErrorRoot {
    pub error: UpcloudApiError,
}

#[derive(Deserialize, Debug)]
pub struct UpcloudApiError {
    pub error_code: String,
    pub error_message: String,
}