removing needless clones

This commit is contained in:
Jędrzej Stuczyński
2024-05-20 11:51:12 +01:00
parent 7a416f8cf5
commit 73fe7618db
2 changed files with 2 additions and 2 deletions
@@ -167,7 +167,7 @@ pub struct NodeDescription {
}
/// Auxiliary details of the associated Nym Node.
#[derive(Clone, Debug, Default, Serialize, Deserialize, JsonSchema)]
#[derive(Clone, Copy, Debug, Default, Serialize, Deserialize, JsonSchema)]
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
pub struct AuxiliaryDetails {
/// Optional ISO 3166 alpha-2 two-letter country code of the node's **physical** location
+1 -1
View File
@@ -464,7 +464,7 @@ impl NymNode {
)?;
let auxiliary_details = api_requests::v1::node::models::AuxiliaryDetails {
location: self.config.host.location.clone(),
location: self.config.host.location,
};
// mixnode info