pub struct SlackBlockOverflowElementInit {
pub action_id: SlackActionId,
pub options: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>,
}Expand description
Required fields of SlackBlockOverflowElement; convert with SlackBlockOverflowElement::from or .into().
Fields§
§action_id: SlackActionIdValue for the action_id field of SlackBlockOverflowElement.
options: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>Value for the options field of SlackBlockOverflowElement.
Trait Implementations§
Source§impl From<SlackBlockOverflowElementInit> for SlackBlockOverflowElement
impl From<SlackBlockOverflowElementInit> for SlackBlockOverflowElement
Source§fn from(value: SlackBlockOverflowElementInit) -> Self
fn from(value: SlackBlockOverflowElementInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackBlockOverflowElementInit
impl RefUnwindSafe for SlackBlockOverflowElementInit
impl Send for SlackBlockOverflowElementInit
impl Sync for SlackBlockOverflowElementInit
impl Unpin for SlackBlockOverflowElementInit
impl UnsafeUnpin for SlackBlockOverflowElementInit
impl UnwindSafe for SlackBlockOverflowElementInit
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