We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca562a0 commit 59c2da1Copy full SHA for 59c2da1
src/network.rs
@@ -1,7 +1,7 @@
1
use serde::{Deserialize, Serialize};
2
use std::collections::HashMap;
3
4
-#[derive(Debug, Clone, Serialize, Deserialize)]
+#[derive(Clone, Serialize, Deserialize)]
5
#[serde(rename_all = "camelCase")]
6
pub struct RemoteConfig {
7
pub url: String,
@@ -15,7 +15,7 @@ pub struct RemoteConfig {
15
pub type RemotesMap = HashMap<String, RemoteConfig>;
16
17
/// Full network state returned by GET /network
18
19
20
pub struct NetworkState {
21
pub remotes: Option<RemotesMap>,
@@ -25,7 +25,7 @@ pub struct NetworkState {
25
}
26
27
/// Partial update body for PATCH /network
28
-#[derive(Debug, Default, Clone, Serialize, Deserialize)]
+#[derive(Default, Clone, Serialize, Deserialize)]
29
30
pub struct NetworkUpdate {
31
#[serde(skip_serializing_if = "Option::is_none")]
0 commit comments