1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Debug, Clone)] pub struct Footer { pub text: String, } impl Footer { pub fn new() -> Self { Self { text: "Enter submit | Ctrl+C interrupt | /exit quit".to_string(), } } }