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