use serde::Deserialize; /// Bad version of `/repos/{owner}/{repo}/pulls/{pull_number}` for Github's api #[derive(Clone, Debug, Deserialize)] pub struct PullRequest { pub html_url: String, pub number: u64, pub title: String, pub merged: bool, pub merged_at: Option, pub merge_commit_sha: Option, } /// `/random_teawie` for the teawieAPI #[derive(Clone, Debug, Deserialize)] pub struct RandomTeawie { pub url: Option, pub error: Option, }