1use serde::{Deserialize, Serialize};
11
12pub mod comment;
13pub mod identities;
14pub mod issue;
15pub mod label;
16pub mod milestone;
17pub mod project;
18pub mod pullrequest;
19pub mod reaction;
20pub mod release;
21pub mod repository;
22pub mod review;
23pub mod topic;
24pub mod user;
25
26pub use comment::Comment;
27pub use identities::Identities;
28pub use issue::Issue;
29pub use label::Label;
30pub use milestone::Milestone;
31pub use project::Project;
32pub use pullrequest::PullRequest;
33pub use reaction::Reaction;
34pub use release::{Release, ReleaseAsset};
35pub use repository::Repository;
36pub use review::{Review, ReviewComment, ReviewState};
37pub use topic::Topic;
38pub use user::User;
39
40#[derive(Clone, Debug, Serialize, Deserialize, Eq, PartialEq)]
41#[serde(rename_all = "lowercase")]
42pub enum OpenCloseState {
45 Closed,
47 Open,
49}
50
51impl Default for OpenCloseState {
52 fn default() -> Self {
53 Self::Open
54 }
55}