canton_api_client/models/
any.rs

1/*
2 * JSON Ledger API HTTP endpoints
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 3.3.0-SNAPSHOT
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Any {
16    #[serde(rename = "typeUrl")]
17    pub type_url: String,
18    #[serde(rename = "value")]
19    pub value: String,
20    #[serde(rename = "unknownFields")]
21    pub unknown_fields: String,
22}
23
24impl Any {
25    pub fn new(type_url: String, value: String, unknown_fields: String) -> Any {
26        Any {
27            type_url,
28            value,
29            unknown_fields,
30        }
31    }
32}
33