canton_api_client/models/
submit_and_wait_for_reassignment_request.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SubmitAndWaitForReassignmentRequest {
17 #[serde(rename = "reassignmentCommands", skip_serializing_if = "Option::is_none")]
18 pub reassignment_commands: Option<Box<models::ReassignmentCommands>>,
19 #[serde(rename = "eventFormat", skip_serializing_if = "Option::is_none")]
20 pub event_format: Option<Box<models::EventFormat>>,
21}
22
23impl SubmitAndWaitForReassignmentRequest {
24 pub fn new() -> SubmitAndWaitForReassignmentRequest {
26 SubmitAndWaitForReassignmentRequest {
27 reassignment_commands: None,
28 event_format: None,
29 }
30 }
31}
32