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