antimatter_api 2.0.13

Interact with the Antimatter Cloud API
Documentation
/*
 * Antimatter Public API
 *
 * Interact with the Antimatter Cloud API
 *
 * The version of the OpenAPI document: 2.0.13
 * Contact: support@antimatter.io
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(tag = "type")]
pub enum AvailableRootEncryptionKeyProvidersProvidersInner {
    #[serde(rename="DelegatedRootEncryptionKeyProvider")]
    DelegatedRootEncryptionKeyProvider(Box<models::AvailableDelegatedRootEncryptionKeyProvider>),
    #[serde(rename="ServiceAccountRootEncryptionKeyProvider")]
    ServiceAccountRootEncryptionKeyProvider(Box<models::AvailableServiceAccountRootEncryptionKeyProvider>),
}

impl Default for AvailableRootEncryptionKeyProvidersProvidersInner {
    fn default() -> Self {
        Self::DelegatedRootEncryptionKeyProvider(Default::default())
    }
}