canton_api_client/models/
transaction_shape.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum TransactionShape {
17 TransactionShapeAcsDelta(serde_json::Value),
18 TransactionShapeLedgerEffects(serde_json::Value),
19 TransactionShapeUnspecified(serde_json::Value),
20 Unrecognized(Box<models::Unrecognized>),
21}
22
23impl Default for TransactionShape {
24 fn default() -> Self {
25 Self::TransactionShapeAcsDelta(Default::default())
26 }
27}
28