diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-09-12 12:57:34 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-09-13 07:32:27 +0200 |
| commit | 1ffe7af7a26a9990725844014b49269614ecd754 (patch) | |
| tree | a09b872b16335ccbaa2f7faa54ea8a53104c4fda | |
| parent | bbae0472d077c24aa0397a1e87ec5dd83bb44e4f (diff) | |
| download | mullvadvpn-1ffe7af7a26a9990725844014b49269614ecd754.tar.xz mullvadvpn-1ffe7af7a26a9990725844014b49269614ecd754.zip | |
Serialize TransportProtocol as camelCase instead of PascalCase
| -rw-r--r-- | talpid-types/src/net.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/talpid-types/src/net.rs b/talpid-types/src/net.rs index d6e71da9be..840ab3895e 100644 --- a/talpid-types/src/net.rs +++ b/talpid-types/src/net.rs @@ -24,6 +24,7 @@ impl Endpoint { /// Representation of a transport protocol, either UDP or TCP. #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] pub enum TransportProtocol { /// Represents the UDP transport protocol. Udp, |
