1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#[derive(Debug, Clone)] pub struct KeyConfig { pub keys: crate::keys::KeyList, } impl Default for KeyConfig { fn default() -> Self { Self { keys: crate::keys::KeyList::default() } } } impl KeyConfig { pub fn init() -> Self { Self::default() } }