1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
pub struct Thread { pub name: String, pub desc: String, } pub struct Message { pub name: String, pub text: String, } #[derive(Debug, Clone)] pub struct TwoCH<'a> { prefix: String, board: Option<&'a str>, thread: Option<u32>, }