21 lines
419 B
Rust
21 lines
419 B
Rust
use crate::service::FormService;
|
|
|
|
pub struct RepoInfo<'a> {
|
|
pub commit_url: &'a str,
|
|
pub commits: u64,
|
|
pub base_url: &'a str,
|
|
pub head: &'a str,
|
|
pub hoc: u64,
|
|
pub hoc_pretty: &'a str,
|
|
pub path: &'a str,
|
|
pub url: &'a str,
|
|
pub branch: &'a str,
|
|
}
|
|
|
|
pub struct RepoGeneratorInfo<'a> {
|
|
pub service: FormService,
|
|
pub user: &'a str,
|
|
pub repo: &'a str,
|
|
pub branch: &'a str,
|
|
}
|