[][src]Struct slack_morphism::prelude::SlackBlockRadioButtonsElement

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

impl SlackBlockRadioButtonsElement[src]

pub fn new(
    action_id: SlackActionId,
    options: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> SlackBlockRadioButtonsElement
[src]

pub fn action_id(
    &mut self,
    value: SlackActionId
) -> &mut SlackBlockRadioButtonsElement
[src]

pub fn with_action_id(
    self,
    value: SlackActionId
) -> SlackBlockRadioButtonsElement
[src]

pub fn options(
    &mut self,
    value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut SlackBlockRadioButtonsElement
[src]

pub fn with_options(
    self,
    value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> SlackBlockRadioButtonsElement
[src]

pub fn initial_option(
    &mut self,
    value: SlackBlockChoiceItem<SlackBlockText>
) -> &mut SlackBlockRadioButtonsElement
[src]

pub fn reset_initial_option(&mut self) -> &mut SlackBlockRadioButtonsElement[src]

pub fn mopt_initial_option(
    &mut self,
    value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut SlackBlockRadioButtonsElement
[src]

pub fn with_initial_option(
    self,
    value: SlackBlockChoiceItem<SlackBlockText>
) -> SlackBlockRadioButtonsElement
[src]

pub fn without_initial_option(self) -> SlackBlockRadioButtonsElement[src]

pub fn opt_initial_option(
    self,
    value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> SlackBlockRadioButtonsElement
[src]

pub fn confirm(
    &mut self,
    value: SlackBlockConfirmItem
) -> &mut SlackBlockRadioButtonsElement
[src]

pub fn reset_confirm(&mut self) -> &mut SlackBlockRadioButtonsElement[src]

pub fn mopt_confirm(
    &mut self,
    value: Option<SlackBlockConfirmItem>
) -> &mut SlackBlockRadioButtonsElement
[src]

pub fn with_confirm(
    self,
    value: SlackBlockConfirmItem
) -> SlackBlockRadioButtonsElement
[src]

pub fn without_confirm(self) -> SlackBlockRadioButtonsElement[src]

pub fn opt_confirm(
    self,
    value: Option<SlackBlockConfirmItem>
) -> SlackBlockRadioButtonsElement
[src]

Trait Implementations

impl Clone for SlackBlockRadioButtonsElement[src]

impl Debug for SlackBlockRadioButtonsElement[src]

impl<'de> Deserialize<'de> for SlackBlockRadioButtonsElement[src]

impl From<SlackBlockRadioButtonsElement> for SlackActionBlockElement[src]

impl From<SlackBlockRadioButtonsElement> for SlackSectionBlockElement[src]

impl From<SlackBlockRadioButtonsElement> for SlackInputBlockElement[src]

impl From<SlackBlockRadioButtonsElementInit> for SlackBlockRadioButtonsElement[src]

impl PartialEq<SlackBlockRadioButtonsElement> for SlackBlockRadioButtonsElement[src]

impl Serialize for SlackBlockRadioButtonsElement[src]

impl StructuralPartialEq for SlackBlockRadioButtonsElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.