canton_api_client/models/
features_descriptor.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 FeaturesDescriptor {
16    #[serde(rename = "experimental", skip_serializing_if = "Option::is_none")]
17    pub experimental: Option<Box<models::ExperimentalFeatures>>,
18    #[serde(rename = "userManagement", skip_serializing_if = "Option::is_none")]
19    pub user_management: Option<Box<models::UserManagementFeature>>,
20    #[serde(rename = "partyManagement", skip_serializing_if = "Option::is_none")]
21    pub party_management: Option<Box<models::PartyManagementFeature>>,
22    #[serde(rename = "offsetCheckpoint", skip_serializing_if = "Option::is_none")]
23    pub offset_checkpoint: Option<Box<models::OffsetCheckpointFeature>>,
24}
25
26impl FeaturesDescriptor {
27    pub fn new() -> FeaturesDescriptor {
28        FeaturesDescriptor {
29            experimental: None,
30            user_management: None,
31            party_management: None,
32            offset_checkpoint: None,
33        }
34    }
35}
36