aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-06-10 10:10:01 -0400
committerCara Salter <cara@devcara.com>2022-06-10 10:10:01 -0400
commit0449d7b38617933482f65d23cb8785b68466b82c (patch)
tree04f026878a46d544add619869110bc1446150094
parent641f2a38b1185394e91e834709d9b4dc8473a054 (diff)
downloadsolarlib-0449d7b38617933482f65d23cb8785b68466b82c.tar.gz
solarlib-0449d7b38617933482f65d23cb8785b68466b82c.zip
star: Implement Clone on NewPlanet
-rw-r--r--src/star.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/star.rs b/src/star.rs
index 30222a1..65b9fa8 100644
--- a/src/star.rs
+++ b/src/star.rs
@@ -45,7 +45,7 @@ pub struct Star {
}
/// The proper JSON request to make to a solard server to introduce a new planet
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct NewPlanet {
pub name: String,
pub max_mem: Memory,