Skip to content

Commit

Permalink
Model numbers as usize
Browse files Browse the repository at this point in the history
  • Loading branch information
marsavar committed Jul 2, 2024
1 parent fc5bcb6 commit f38db46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ use serde::Deserialize;
#[derive(Deserialize, Getters, Debug)]
#[getset(get = "pub", get_copy = "pub")]
pub struct GithubPullRequest {
id: i32,
id: usize,
url: String,
html_url: String,
title: String,
user: GithubUser,
draft: bool,
number: i32,
number: usize,
head: GithubBranch,
labels: Vec<GithubLabel>,
created_at: DateTime<Utc>,
Expand All @@ -39,14 +39,14 @@ pub struct GithubLabel {
#[derive(Deserialize, Getters, Debug)]
#[getset(get = "pub")]
pub struct GithubUser {
id: i32,
id: usize,
login: String,
}

#[derive(Deserialize, Getters, Debug)]
#[getset(get = "pub")]
pub struct GithubReview {
id: i32,
id: usize,
state: String,
}

Expand Down

0 comments on commit f38db46

Please sign in to comment.