nomad_client_rs/models/
allocated_device_resource.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct AllocatedDeviceResource {
5    #[serde(rename = "DeviceIDs", skip_serializing_if = "Option::is_none")]
6    pub device_ids: Option<Vec<String>>,
7    #[serde(rename = "Name", skip_serializing_if = "Option::is_none")]
8    pub name: Option<String>,
9    #[serde(rename = "Type", skip_serializing_if = "Option::is_none")]
10    pub _type: Option<String>,
11    #[serde(rename = "Vendor", skip_serializing_if = "Option::is_none")]
12    pub vendor: Option<String>,
13}