summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:38:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:39:09 -0700
commit24f323669212735f3facbe4f417b5f20ba1c5c00 (patch)
tree7617d99a76cf8357d0730d96722dbbfc21dd7b21 /rust/fatcat-api/src
parentc4618dd2fb070eefcdb38bca7b92fe32da766702 (diff)
downloadfatcat-24f323669212735f3facbe4f417b5f20ba1c5c00.tar.gz
fatcat-24f323669212735f3facbe4f417b5f20ba1c5c00.zip
contribs: raw -> raw_name
Diffstat (limited to 'rust/fatcat-api/src')
-rw-r--r--rust/fatcat-api/src/models.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs
index 3ae9b1fa..d85a1bbd 100644
--- a/rust/fatcat-api/src/models.rs
+++ b/rust/fatcat-api/src/models.rs
@@ -433,9 +433,9 @@ pub struct ReleaseContrib {
#[serde(skip_serializing_if = "Option::is_none")]
pub creator_id: Option<String>,
- #[serde(rename = "raw")]
+ #[serde(rename = "raw_name")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub raw: Option<String>,
+ pub raw_name: Option<String>,
#[serde(rename = "extra")]
#[serde(skip_serializing_if = "Option::is_none")]
@@ -451,7 +451,7 @@ impl ReleaseContrib {
ReleaseContrib {
index: None,
creator_id: None,
- raw: None,
+ raw_name: None,
extra: None,
role: None,
}