diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-03 10:35:59 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-03 10:37:32 +0100 |
commit | e503e291c9865eca6337fedd850e6bbeeb0934f7 (patch) | |
tree | dea475789390876491cbb0322979be6e050ecbee | |
parent | 3d5f34085c57c83075e5e96ac7d888f54fab026d (diff) |
Remove unnecessary "pub"s
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | src/api.rs | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -52,20 +52,20 @@ impl Series { #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)] pub struct Column { - pub text: String, - #[serde(rename = "type")] pub _type: String, + text: String, + #[serde(rename = "type")] _type: String, } #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)] pub struct Table { - pub columns: Vec<Column>, - #[serde(rename = "type")] pub _type: String, - pub rows: Vec<Vec<serde_json::Value>>, + columns: Vec<Column>, + #[serde(rename = "type")] _type: String, + rows: Vec<Vec<serde_json::Value>>, } #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)] pub struct Search { - pub target: String, + target: String, } #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)] |