Struct slack_morphism::blocks::SlackBlockChoiceItemInit
source · pub struct SlackBlockChoiceItemInit<T: Into<SlackBlockText>> {
pub text: T,
pub value: String,
}Fields§
§text: T§value: StringTrait Implementations§
source§impl<T: Into<SlackBlockText>> From<SlackBlockChoiceItemInit<T>> for SlackBlockChoiceItem<T>
impl<T: Into<SlackBlockText>> From<SlackBlockChoiceItemInit<T>> for SlackBlockChoiceItem<T>
source§fn from(value: SlackBlockChoiceItemInit<T>) -> Self
fn from(value: SlackBlockChoiceItemInit<T>) -> Self
Converts to this type from the input type.