pub struct SlackBlockRadioButtonsElement {
pub action_id: SlackActionId,
pub options: Vec<SlackBlockChoiceItem<SlackBlockText>>,
pub initial_option: Option<SlackBlockChoiceItem<SlackBlockText>>,
pub confirm: Option<SlackBlockConfirmItem>,
}Fields
action_id: SlackActionIdoptions: Vec<SlackBlockChoiceItem<SlackBlockText>>initial_option: Option<SlackBlockChoiceItem<SlackBlockText>>confirm: Option<SlackBlockConfirmItem>Implementations
pub fn new(
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
pub fn mopt_initial_option(
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for SlackBlockRadioButtonsElement
impl Sync for SlackBlockRadioButtonsElement
impl Unpin for SlackBlockRadioButtonsElement
impl UnwindSafe for SlackBlockRadioButtonsElement
Blanket Implementations
Mutably borrows from an owned value. Read more