Struct slack_morphism::prelude::SlackBlockChoiceItemInit
source · [−]pub struct SlackBlockChoiceItemInit<T> where
T: Into<SlackBlockText>, {
pub text: T,
pub value: String,
}
Fields
text: T
value: String
Trait Implementations
impl<T> From<SlackBlockChoiceItemInit<T>> for SlackBlockChoiceItem<T> where
T: Into<SlackBlockText>,
impl<T> From<SlackBlockChoiceItemInit<T>> for SlackBlockChoiceItem<T> where
T: Into<SlackBlockText>,
Performs the conversion.