diff --git a/src/models/pulls.rs b/src/models/pulls.rs index c2a40678..247a0c3c 100644 --- a/src/models/pulls.rs +++ b/src/models/pulls.rs @@ -35,7 +35,7 @@ pub struct PullRequest { #[serde(skip_serializing_if = "Option::is_none")] pub title: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub user: Option, + pub user: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub body: Option, #[serde(skip_serializing_if = "Option::is_none")] @@ -45,7 +45,7 @@ pub struct PullRequest { #[serde(skip_serializing_if = "Option::is_none")] pub labels: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub milestone: Option, + pub milestone: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub active_lock_reason: Option, #[serde(skip_serializing_if = "Option::is_none")] @@ -63,7 +63,7 @@ pub struct PullRequest { #[serde(skip_serializing_if = "Option::is_none")] pub merge_commit_sha: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub assignee: Option, + pub assignee: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub assignees: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -72,17 +72,17 @@ pub struct PullRequest { pub requested_teams: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub rebaseable: Option, - pub head: Head, - pub base: Base, + pub head: Box, + pub base: Box, #[serde(rename = "_links")] #[serde(skip_serializing_if = "Option::is_none")] - pub links: Option, + pub links: Option>, #[serde(skip_serializing_if = "Option::is_none")] pub author_association: Option, #[serde(skip_serializing_if = "Option::is_none")] pub draft: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub repo: Option, + pub repo: Option>, } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]