Struct slack_morphism_models::blocks::SlackBlockMultiExternalSelectElement [−][src]
pub struct SlackBlockMultiExternalSelectElement {
pub action_id: SlackActionId,
pub placeholder: SlackBlockPlainTextOnly,
pub initial_options: Option<Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>>,
pub confirm: Option<SlackBlockConfirmItem>,
pub max_selected_items: Option<u64>,
}Fields
action_id: SlackActionIdplaceholder: SlackBlockPlainTextOnlyinitial_options: Option<Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>>confirm: Option<SlackBlockConfirmItem>max_selected_items: Option<u64>Implementations
pub fn initial_options(
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> &mut Self[src]pub fn mopt_initial_options(
&mut self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>>
) -> &mut Self[src]pub fn with_initial_options(
self,
value: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> Self[src]pub fn opt_initial_options(
self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>>
) -> Self[src]Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for SlackBlockMultiExternalSelectElementimpl Sync for SlackBlockMultiExternalSelectElementBlanket Implementations
Mutably borrows from an owned value. Read more