pub struct BlockElementMultiSelectMenu {
pub element_type: String,
pub action_id: String,
pub options: Vec<CompositionObjectOption>,
pub option_groups: Option<Vec<CompositionObjectOptionGroup>>,
pub initial_options: Option<Vec<SlackBlockKitCompositionObject>>,
pub confirm: Option<CompositionObjectConfirmationDialog>,
pub max_selected_items: Option<u32>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<CompositionObjectText>,
}
Expand description
https://api.slack.com/reference/block-kit/block-elements#multi_select
Fields§
§element_type: String
§action_id: String
§options: Vec<CompositionObjectOption>
§option_groups: Option<Vec<CompositionObjectOptionGroup>>
§initial_options: Option<Vec<SlackBlockKitCompositionObject>>
§confirm: Option<CompositionObjectConfirmationDialog>
§max_selected_items: Option<u32>
§focus_on_load: Option<bool>
§placeholder: Option<CompositionObjectText>
Trait Implementations§
Source§impl Clone for BlockElementMultiSelectMenu
impl Clone for BlockElementMultiSelectMenu
Source§fn clone(&self) -> BlockElementMultiSelectMenu
fn clone(&self) -> BlockElementMultiSelectMenu
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockElementMultiSelectMenu
impl Debug for BlockElementMultiSelectMenu
Source§impl<'de> Deserialize<'de> for BlockElementMultiSelectMenu
impl<'de> Deserialize<'de> for BlockElementMultiSelectMenu
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlockElementMultiSelectMenu
impl RefUnwindSafe for BlockElementMultiSelectMenu
impl Send for BlockElementMultiSelectMenu
impl Sync for BlockElementMultiSelectMenu
impl Unpin for BlockElementMultiSelectMenu
impl UnwindSafe for BlockElementMultiSelectMenu
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