pub struct BlockElementSelectMenuStaticOption {
pub element_type: String,
pub action_id: String,
pub options: Vec<CompositionObjectOption>,
pub option_groups: Option<Vec<CompositionObjectOptionGroup>>,
pub initial_option: Option<CompositionObjectOption>,
pub confirm: Option<CompositionObjectConfirmationDialog>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<CompositionObjectText>,
}
Expand description
https://api.slack.com/reference/block-kit/block-elements#select
Fields§
§element_type: String
§action_id: String
§options: Vec<CompositionObjectOption>
§option_groups: Option<Vec<CompositionObjectOptionGroup>>
§initial_option: Option<CompositionObjectOption>
§confirm: Option<CompositionObjectConfirmationDialog>
§focus_on_load: Option<bool>
§placeholder: Option<CompositionObjectText>
Trait Implementations§
Source§impl Clone for BlockElementSelectMenuStaticOption
impl Clone for BlockElementSelectMenuStaticOption
Source§fn clone(&self) -> BlockElementSelectMenuStaticOption
fn clone(&self) -> BlockElementSelectMenuStaticOption
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<'de> Deserialize<'de> for BlockElementSelectMenuStaticOption
impl<'de> Deserialize<'de> for BlockElementSelectMenuStaticOption
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 BlockElementSelectMenuStaticOption
impl RefUnwindSafe for BlockElementSelectMenuStaticOption
impl Send for BlockElementSelectMenuStaticOption
impl Sync for BlockElementSelectMenuStaticOption
impl Unpin for BlockElementSelectMenuStaticOption
impl UnwindSafe for BlockElementSelectMenuStaticOption
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