diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-10-12 19:30:02 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-10-12 19:45:21 +0200 |
commit | 00ce2434bae83cae83beb820e0b60b20a9db3e1e (patch) | |
tree | be52acca4db4ef763204dd19a272a8af80bae522 /src/phase/mod.rs | |
parent | f15ec65c990418d5753e35df35665f01e21d1b28 (diff) |
Deserialize these types transparently
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/phase/mod.rs')
-rw-r--r-- | src/phase/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phase/mod.rs b/src/phase/mod.rs index 44581bb..55257e9 100644 --- a/src/phase/mod.rs +++ b/src/phase/mod.rs @@ -4,6 +4,7 @@ use std::collections::HashMap; use serde::Deserialize; #[derive(Debug, Deserialize, Eq, PartialEq, Hash)] +#[serde(transparent)] pub struct PhaseName(String); #[derive(Debug, Deserialize, Eq, PartialEq)] |