aboutsummaryrefslogtreecommitdiff
path: root/src/star.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/star.rs')
-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,