1 2 3 4 5 6 7 8
use crate::primitives::dialog::Dialog; impl<'a> Dialog<'a> { pub fn buttons(mut self, buttons: Vec<&'a str>) -> Self { self.buttons = buttons; self } }