canton_api_client/models/
update_format.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct UpdateFormat {
17 #[serde(rename = "includeTransactions", skip_serializing_if = "Option::is_none")]
18 pub include_transactions: Option<Box<models::TransactionFormat>>,
19 #[serde(rename = "includeReassignments", skip_serializing_if = "Option::is_none")]
20 pub include_reassignments: Option<Box<models::EventFormat>>,
21 #[serde(rename = "includeTopologyEvents", skip_serializing_if = "Option::is_none")]
22 pub include_topology_events: Option<Box<models::TopologyFormat>>,
23}
24
25impl UpdateFormat {
26 pub fn new() -> UpdateFormat {
28 UpdateFormat {
29 include_transactions: None,
30 include_reassignments: None,
31 include_topology_events: None,
32 }
33 }
34}
35