pub struct SlackBlockOptionGroupInit<T: Into<SlackBlockText>> {
pub label: SlackBlockPlainTextOnly,
pub options: Vec<SlackBlockChoiceItem<T>>,
}
Fields§
§label: SlackBlockPlainTextOnly
§options: Vec<SlackBlockChoiceItem<T>>
Trait Implementations§
Source§impl<T: Into<SlackBlockText>> From<SlackBlockOptionGroupInit<T>> for SlackBlockOptionGroup<T>
impl<T: Into<SlackBlockText>> From<SlackBlockOptionGroupInit<T>> for SlackBlockOptionGroup<T>
Source§fn from(value: SlackBlockOptionGroupInit<T>) -> Self
fn from(value: SlackBlockOptionGroupInit<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for SlackBlockOptionGroupInit<T>
impl<T> RefUnwindSafe for SlackBlockOptionGroupInit<T>where
T: RefUnwindSafe,
impl<T> Send for SlackBlockOptionGroupInit<T>where
T: Send,
impl<T> Sync for SlackBlockOptionGroupInit<T>where
T: Sync,
impl<T> Unpin for SlackBlockOptionGroupInit<T>where
T: Unpin,
impl<T> UnwindSafe for SlackBlockOptionGroupInit<T>where
T: UnwindSafe,
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