pub struct SlackBlockRadioButtonsElementInit {
pub action_id: SlackActionId,
pub options: Vec<SlackBlockChoiceItem<SlackBlockText>>,
}Expand description
Required fields of SlackBlockRadioButtonsElement; convert with SlackBlockRadioButtonsElement::from or .into().
Fields§
§action_id: SlackActionIdValue for the action_id field of SlackBlockRadioButtonsElement.
options: Vec<SlackBlockChoiceItem<SlackBlockText>>Value for the options field of SlackBlockRadioButtonsElement.
Trait Implementations§
Source§impl From<SlackBlockRadioButtonsElementInit> for SlackBlockRadioButtonsElement
impl From<SlackBlockRadioButtonsElementInit> for SlackBlockRadioButtonsElement
Source§fn from(value: SlackBlockRadioButtonsElementInit) -> Self
fn from(value: SlackBlockRadioButtonsElementInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackBlockRadioButtonsElementInit
impl RefUnwindSafe for SlackBlockRadioButtonsElementInit
impl Send for SlackBlockRadioButtonsElementInit
impl Sync for SlackBlockRadioButtonsElementInit
impl Unpin for SlackBlockRadioButtonsElementInit
impl UnsafeUnpin for SlackBlockRadioButtonsElementInit
impl UnwindSafe for SlackBlockRadioButtonsElementInit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more