Skip to main content

clientapi_pbs/models/
pbs_sync_attributes_field.rs

1/*
2 * Proxmox Backup Server API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/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 PbsSyncAttributesField {
17    PbsSyncAttributesConfig(Box<models::PbsSyncAttributesConfig>),
18    String(String),
19}
20
21impl Default for PbsSyncAttributesField {
22    fn default() -> Self {
23        Self::PbsSyncAttributesConfig(Default::default())
24    }
25}
26