canton-api-client 3.3.0-0.1.1

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};

/// Update1 : The update that matches the filter in the request.
/// The update that matches the filter in the request.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum Update1 {
    Update1OneOf(Box<models::Update1OneOf>),
    Update1OneOf1(Box<models::Update1OneOf1>),
    Update1OneOf2(Box<models::Update1OneOf2>),
}

impl Default for Update1 {
    fn default() -> Self {
        Self::Update1OneOf(Default::default())
    }
}