Struct slack_morphism::prelude::SlackBlockOptionGroupInit
source · [−]pub struct SlackBlockOptionGroupInit<T: Into<SlackBlockText>> {
pub label: SlackBlockPlainTextOnly,
pub options: Vec<SlackBlockChoiceItem<T>>,
}Fields
label: SlackBlockPlainTextOnlyoptions: Vec<SlackBlockChoiceItem<T>>Trait Implementations
sourceimpl<T: Into<SlackBlockText>> From<SlackBlockOptionGroupInit<T>> for SlackBlockOptionGroup<T>
impl<T: Into<SlackBlockText>> From<SlackBlockOptionGroupInit<T>> for SlackBlockOptionGroup<T>
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more