Struct slack_morphism::prelude::SlackBlockMultiConversationsSelectElement [−][src]
pub struct SlackBlockMultiConversationsSelectElement { pub action_id: SlackActionId, pub placeholder: SlackBlockPlainTextOnly, pub initial_conversations: Option<Vec<SlackConversationId, Global>>, pub default_to_current_conversation: Option<bool>, pub confirm: Option<SlackBlockConfirmItem>, pub max_selected_items: Option<u64>, }
Fields
action_id: SlackActionId
placeholder: SlackBlockPlainTextOnly
initial_conversations: Option<Vec<SlackConversationId, Global>>
default_to_current_conversation: Option<bool>
confirm: Option<SlackBlockConfirmItem>
max_selected_items: Option<u64>
Implementations
pub fn new(
action_id: SlackActionId,
placeholder: SlackBlockPlainTextOnly
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn action_id(
&mut self,
value: SlackActionId
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn with_action_id(
self,
value: SlackActionId
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn placeholder(
&mut self,
value: SlackBlockPlainTextOnly
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn with_placeholder(
self,
value: SlackBlockPlainTextOnly
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn initial_conversations(
&mut self,
value: Vec<SlackConversationId, Global>
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn reset_initial_conversations(
&mut self
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn mopt_initial_conversations(
&mut self,
value: Option<Vec<SlackConversationId, Global>>
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn with_initial_conversations(
self,
value: Vec<SlackConversationId, Global>
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn opt_initial_conversations(
self,
value: Option<Vec<SlackConversationId, Global>>
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn default_to_current_conversation(
&mut self,
value: bool
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn reset_default_to_current_conversation(
&mut self
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn mopt_default_to_current_conversation(
&mut self,
value: Option<bool>
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn with_default_to_current_conversation(
self,
value: bool
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn without_default_to_current_conversation(
self
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn opt_default_to_current_conversation(
self,
value: Option<bool>
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn confirm(
&mut self,
value: SlackBlockConfirmItem
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn mopt_confirm(
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn with_confirm(
self,
value: SlackBlockConfirmItem
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn opt_confirm(
self,
value: Option<SlackBlockConfirmItem>
) -> SlackBlockMultiConversationsSelectElement
[src]pub fn max_selected_items(
&mut self,
value: u64
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn mopt_max_selected_items(
&mut self,
value: Option<u64>
) -> &mut SlackBlockMultiConversationsSelectElement
[src]pub fn opt_max_selected_items(
self,
value: Option<u64>
) -> SlackBlockMultiConversationsSelectElement
[src]Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackBlockMultiConversationsSelectElement, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackBlockMultiConversationsSelectElement, <__D as Deserializer<'de>>::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 !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more