summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-03 10:35:59 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-03 10:37:32 +0100
commite503e291c9865eca6337fedd850e6bbeeb0934f7 (patch)
treedea475789390876491cbb0322979be6e050ecbee
parent3d5f34085c57c83075e5e96ac7d888f54fab026d (diff)
Remove unnecessary "pub"s
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/api.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/api.rs b/src/api.rs
index a68e12f..1f9a904 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -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)]