From 0449d7b38617933482f65d23cb8785b68466b82c Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Fri, 10 Jun 2022 10:10:01 -0400 Subject: star: Implement Clone on NewPlanet --- src/star.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3