canton-api-client 3.3.0-0.1.2

Canton Ledger API rust client
Documentation
/*
 * JSON Ledger API HTTP endpoints
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.3.0-SNAPSHOT
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// DeduplicationPeriod2 : Specifies the deduplication period for the change ID. If omitted, the participant will assume the configured maximum deduplication time.
/// Specifies the deduplication period for the change ID. If omitted, the participant will assume the configured maximum deduplication time.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum DeduplicationPeriod2 {
    DeduplicationPeriod2OneOf(Box<models::DeduplicationPeriod2OneOf>),
    DeduplicationPeriod2OneOf1(Box<models::DeduplicationPeriod2OneOf1>),
    DeduplicationPeriod2OneOf2(Box<models::DeduplicationPeriod2OneOf2>),
}

impl Default for DeduplicationPeriod2 {
    fn default() -> Self {
        Self::DeduplicationPeriod2OneOf(Default::default())
    }
}