rosetta_types/
metadata_request.rs

1/*
2 * Rosetta
3 *
4 * Build Once. Integrate Your Blockchain Everywhere.
5 *
6 * The version of the OpenAPI document: 1.4.13
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// MetadataRequest : A MetadataRequest is utilized in any request where the only argument is optional metadata.
12
13#[derive(Clone, Debug, PartialEq, Eq, Default, Serialize, Deserialize)]
14pub struct MetadataRequest {
15    #[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
16    pub metadata: Option<serde_json::Value>,
17}
18
19impl MetadataRequest {
20    /// A MetadataRequest is utilized in any request where the only argument is optional metadata.
21    pub fn new() -> MetadataRequest {
22        MetadataRequest { metadata: None }
23    }
24}