summaryrefslogtreecommitdiffstats
path: root/crates/core/c8y_smartrest
diff options
context:
space:
mode:
authorRina Fujino <18257209+rina23q@users.noreply.github.com>2022-05-09 14:33:05 +0200
committerRina Fujino <18257209+rina23q@users.noreply.github.com>2022-05-17 14:21:50 +0200
commit60373061fc66f2362eaa6b52c78df4f40f62119d (patch)
tree2ff4320c993f5b08ab14b531dc21d6245d3d1d3c /crates/core/c8y_smartrest
parent29473a8b9912be60bfdad22684d97301c2e80960 (diff)
Add type support on the plugin configuration
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
Diffstat (limited to 'crates/core/c8y_smartrest')
-rw-r--r--crates/core/c8y_smartrest/src/smartrest_deserializer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/c8y_smartrest/src/smartrest_deserializer.rs b/crates/core/c8y_smartrest/src/smartrest_deserializer.rs
index 5d28fac0..b5aa5b46 100644
--- a/crates/core/c8y_smartrest/src/smartrest_deserializer.rs
+++ b/crates/core/c8y_smartrest/src/smartrest_deserializer.rs
@@ -244,7 +244,7 @@ pub struct SmartRestConfigUploadRequest {
impl SmartRestRequestGeneric for SmartRestConfigUploadRequest {}
-#[derive(Debug, Deserialize, Serialize, PartialEq)]
+#[derive(Debug, Deserialize, Serialize, PartialEq, Clone)]
pub struct SmartRestConfigDownloadRequest {
pub message_id: String,
pub device: String,