canton-api-client 3.3.0-0.1.2

Canton Ledger API rust client
Documentation
/*
 * JSON Ledger API HTTP endpoints
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 3.3.0-SNAPSHOT
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// WildcardFilter1 : This filter matches all templates.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WildcardFilter1 {
    /// Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``. Use this to access the contract create event payload in your API client for submitting it as a disclosed contract with future commands. Optional
    #[serde(rename = "includeCreatedEventBlob")]
    pub include_created_event_blob: bool,
}

impl WildcardFilter1 {
    /// This filter matches all templates.
    pub fn new(include_created_event_blob: bool) -> WildcardFilter1 {
        WildcardFilter1 {
            include_created_event_blob,
        }
    }
}