Skip to main content

canton_api_client/models/
experimental_command_inspection_service.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/// ExperimentalCommandInspectionService : Whether the Ledger API supports command inspection service
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ExperimentalCommandInspectionService {
17    /// 
18    #[serde(rename = "supported")]
19    pub supported: bool,
20}
21
22impl ExperimentalCommandInspectionService {
23    /// Whether the Ledger API supports command inspection service
24    pub fn new(supported: bool) -> ExperimentalCommandInspectionService {
25        ExperimentalCommandInspectionService {
26            supported,
27        }
28    }
29}
30