use serde::{Deserialize, Serialize}; use crate::{settings::Setting, user::User}; use super::DefaultBranch; impl Setting for DefaultBranch { fn name() -> &'static str { "default_branch" } } #[derive(Debug, Hash, Clone, PartialEq, Eq, Serialize, Deserialize)] #[repr(transparent)] #[serde(transparent)] pub struct AccessList(pub Vec); impl Setting for AccessList { fn name() -> &'static str { "access_list" } }