marlowe_client/models/
tx_output_error.rs

1/*
2 * Marlowe Runtime REST API
3 *
4 * REST API for Marlowe Runtime
5 *
6 * The version of the OpenAPI document: 0.0.5.1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// TxOutputError : Marlowe transaction error.
12
13#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
14pub struct TxOutputError {
15    #[serde(rename = "transaction_error")]
16    pub transaction_error: Box<crate::models::TransactionError>,
17}
18
19impl TxOutputError {
20    /// Marlowe transaction error.
21    pub fn new(transaction_error: crate::models::TransactionError) -> TxOutputError {
22        TxOutputError {
23            transaction_error: Box::new(transaction_error),
24        }
25    }
26}