Skip to main content

clientapi_pve/models/
pve_rootfs_field.rs

1/*
2 * Proxmox Virtual Environment API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
5 *
6 * The version of the OpenAPI document: 9.x
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum PveRootfsField {
17    PveRootfsConfig(Box<models::PveRootfsConfig>),
18    String(String),
19}
20
21impl Default for PveRootfsField {
22    fn default() -> Self {
23        Self::PveRootfsConfig(Default::default())
24    }
25}
26