lohr/src/gitea.rs

14 lines
283 B
Rust
Raw Normal View History

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