summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src/models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-25 17:05:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-25 17:05:03 -0700
commit92d297ffc895f471a5061250bdd49b71e50a95ab (patch)
tree4f232bf398e53cf2db3aef0dac4c4146390c848a /rust/fatcat-api/src/models.rs
parent8e92be6e1e9396f4920c0f947337e1be643e1994 (diff)
downloadfatcat-92d297ffc895f471a5061250bdd49b71e50a95ab.tar.gz
fatcat-92d297ffc895f471a5061250bdd49b71e50a95ab.zip
refs and contribs
Diffstat (limited to 'rust/fatcat-api/src/models.rs')
-rw-r--r--rust/fatcat-api/src/models.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs
index 5118872f..350e9698 100644
--- a/rust/fatcat-api/src/models.rs
+++ b/rust/fatcat-api/src/models.rs
@@ -415,11 +415,11 @@ impl ReleaseContrib {
pub struct ReleaseEntity {
#[serde(rename = "refs")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub refs: Option<Vec<String>>,
+ pub refs: Option<Vec<models::ReleaseRef>>,
#[serde(rename = "contribs")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub contribs: Option<Vec<String>>,
+ pub contribs: Option<Vec<models::ReleaseContrib>>,
#[serde(rename = "issue")]
#[serde(skip_serializing_if = "Option::is_none")]