rosetta_types/
construction_derive_response.rs1#[derive(Clone, Debug, PartialEq, Eq, Default, Serialize, Deserialize)]
14pub struct ConstructionDeriveResponse {
15 #[serde(rename = "address", skip_serializing_if = "Option::is_none")]
17 pub address: Option<String>,
18 #[serde(rename = "account_identifier", skip_serializing_if = "Option::is_none")]
19 pub account_identifier: Option<crate::AccountIdentifier>,
20 #[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
21 pub metadata: Option<serde_json::Value>,
22}
23
24impl ConstructionDeriveResponse {
25 pub fn new() -> ConstructionDeriveResponse {
27 ConstructionDeriveResponse {
28 address: None,
29 account_identifier: None,
30 metadata: None,
31 }
32 }
33}