Skip to main content

ark_rest/models/
batch_finalization_event.rs

1/*
2 * Ark API
3 *
4 * Combined Ark Service, Indexer, Admin, Signer Manager, and Wallet API
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::Deserialize;
13use serde::Serialize;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct BatchFinalizationEvent {
17    #[serde(rename = "commitmentTx", skip_serializing_if = "Option::is_none")]
18    pub commitment_tx: Option<String>,
19    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
20    pub id: Option<String>,
21}
22
23impl BatchFinalizationEvent {
24    pub fn new() -> BatchFinalizationEvent {
25        BatchFinalizationEvent {
26            commitment_tx: None,
27            id: None,
28        }
29    }
30}