1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#[derive(Debug)] pub struct Suggestion; impl Suggestion { pub fn new(value: String, description: Option<String>) -> Self { todo!() } pub fn get_value(&self) -> String { todo!() } pub fn get_description(&self) -> String { todo!() } }