lohr/src/gitea.rs
2021-03-29 17:10:53 +02:00

14 lines
283 B
Rust

use serde::Deserialize;
#[derive(Clone, Deserialize)]
pub(crate) struct Repository {
pub(crate) name: String,
pub(crate) full_name: String,
pub(crate) clone_url: String,
}
#[derive(Deserialize)]
pub(crate) struct GiteaWebHook {
pub(crate) repository: Repository,
}