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

/// Update : 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 Update {
    UpdateOneOf(Box<models::UpdateOneOf>),
    UpdateOneOf1(Box<models::UpdateOneOf1>),
    UpdateOneOf2(Box<models::UpdateOneOf2>),
    UpdateOneOf3(Box<models::UpdateOneOf3>),
}

impl Default for Update {
    fn default() -> Self {
        Self::UpdateOneOf(Default::default())
    }
}