diff options
author | Cara Salter <cara@devcara.com> | 2022-06-10 10:10:01 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-06-10 10:10:01 -0400 |
commit | 0449d7b38617933482f65d23cb8785b68466b82c (patch) | |
tree | 04f026878a46d544add619869110bc1446150094 /src | |
parent | 641f2a38b1185394e91e834709d9b4dc8473a054 (diff) | |
download | solarlib-0449d7b38617933482f65d23cb8785b68466b82c.tar.gz solarlib-0449d7b38617933482f65d23cb8785b68466b82c.zip |
star: Implement Clone on NewPlanet
Diffstat (limited to 'src')
-rw-r--r-- | src/star.rs | 2 |
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, |