nimbuspulse-client 0.1.12

NimbusPulse API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Deserialize;
use uuid::Uuid;

use crate::types::region::Region;

#[derive(Debug, Deserialize, Clone)]
#[cfg_attr(test, derive(ts_rs::TS))]
#[cfg_attr(test, ts(export, export_to = "../../javascript/lib/types/"))]
pub struct Node {
    pub id: Uuid,
    pub name: String,
    pub region: Region,
    pub ip: String,
    pub port: u32,
    pub max_cpu: u32,
    pub max_ram: u32,
}