ark_rest/models/any.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/// Any : Any contains an arbitrary schema along with a URL to help identify the type of the schema.
16#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
17pub struct Any {
18 /// A URL/resource name that uniquely identifies the type of the schema.
19 #[serde(rename = "@type", skip_serializing_if = "Option::is_none")]
20 pub at_type: Option<String>,
21}
22
23impl Any {
24 /// Any contains an arbitrary schema along with a URL to help identify the type of the schema.
25 pub fn new() -> Any {
26 Any { at_type: None }
27 }
28}