lohr/src/gitea.rs

13 lines
252 B
Rust
Raw Permalink 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) full_name: String,
pub(crate) ssh_url: String,
2021-03-29 02:01:53 +02:00
}
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,
}