#[derive(Debug, Clone, Copy)]
pub enum View {
Full, Limited(usize),
}
impl View {
pub fn limit(self) -> usize {
match self {
Self::Full => 100,
Self::Limited(limit) => limit,
}
}
}
pub struct Section {
pub groups_name: &'static str,
pub group_key: &'static str,
pub view: View,
pub changes: bool, }