Struct slack_morphism::prelude::blocks::SlackBlockOptionGroupInit
source · 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> 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