lohr/src/gitea.rs

14 lines
311 B
Rust
Raw Normal View History

2021-03-29 02:01:53 +02:00
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
pub(crate) struct Repository {
pub(crate) name: String,
pub(crate) full_name: String,
pub(crate) clone_url: String,
}
#[derive(Deserialize, Serialize)]
pub(crate) struct GiteaWebHook {
pub(crate) repository: Repository,
}