1 |
use serde::{Deserialize, Serialize};
|
2 |
|
3 |
use crate::settings::Setting;
|
4 |
|
5 |
#[derive(Debug, Serialize, Deserialize)]
|
6 |
pub struct RepositoryDescription(pub String);
|
7 |
|
8 |
impl Setting for RepositoryDescription {
|
9 |
fn name() -> &'static str {
|
10 |
"Repository Description"
|
11 |
}
|
12 |
}
|
13 |
|
14 |
#[derive(Debug, Serialize, Deserialize)]
|
15 |
pub struct RepositoryVisibilitySetting(pub String);
|
16 |
|
17 |
impl Setting for RepositoryVisibilitySetting {
|
18 |
fn name() -> &'static str {
|
19 |
"Repository Visibility"
|
20 |
}
|
21 |
}
|
22 |
|