blob: 94395381f332569bb4b260cd9b248d0c0557ee11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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<String>,
pub merge_commit_sha: Option<String>,
}
/// `/random_teawie` for the teawieAPI
#[derive(Clone, Debug, Deserialize)]
pub struct RandomTeawie {
pub url: Option<String>,
pub error: Option<String>,
}
|