pub struct BlockElementExternalDataSource {
pub element_type: String,
pub action_id: String,
pub min_query_length: Option<i32>,
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#external_multi_select
Fields§
§element_type: String
§action_id: String
§min_query_length: Option<i32>
§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 BlockElementExternalDataSource
impl Clone for BlockElementExternalDataSource
Source§fn clone(&self) -> BlockElementExternalDataSource
fn clone(&self) -> BlockElementExternalDataSource
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 BlockElementExternalDataSource
impl<'de> Deserialize<'de> for BlockElementExternalDataSource
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 BlockElementExternalDataSource
impl RefUnwindSafe for BlockElementExternalDataSource
impl Send for BlockElementExternalDataSource
impl Sync for BlockElementExternalDataSource
impl Unpin for BlockElementExternalDataSource
impl UnwindSafe for BlockElementExternalDataSource
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