use crate::defines::LevelInt; #[derive(Debug)] pub struct LibrarySettings { maximum_level: LevelInt, } impl LibrarySettings { pub fn new(maximum_level: LevelInt) -> Self { Self { maximum_level } } pub fn maximum_level(&self) -> LevelInt { self.maximum_level } }