[][src]Struct slack_morphism_models::blocks::SlackBlockMultiConversationsSelectElement

pub struct SlackBlockMultiConversationsSelectElement {
    pub action_id: SlackActionId,
    pub placeholder: SlackBlockPlainTextOnly,
    pub initial_conversations: Option<Vec<SlackConversationId>>,
    pub default_to_current_conversation: Option<bool>,
    pub confirm: Option<SlackBlockConfirmItem>,
    pub max_selected_items: Option<u64>,
}

Fields

action_id: SlackActionIdplaceholder: SlackBlockPlainTextOnlyinitial_conversations: Option<Vec<SlackConversationId>>default_to_current_conversation: Option<bool>confirm: Option<SlackBlockConfirmItem>max_selected_items: Option<u64>

Implementations

impl SlackBlockMultiConversationsSelectElement[src]

pub fn new(
    action_id: SlackActionId,
    placeholder: SlackBlockPlainTextOnly
) -> Self
[src]

pub fn action_id(&mut self, value: SlackActionId) -> &mut Self[src]

pub fn with_action_id(self, value: SlackActionId) -> Self[src]

pub fn placeholder(&mut self, value: SlackBlockPlainTextOnly) -> &mut Self[src]

pub fn with_placeholder(self, value: SlackBlockPlainTextOnly) -> Self[src]

pub fn initial_conversations(
    &mut self,
    value: Vec<SlackConversationId>
) -> &mut Self
[src]

pub fn reset_initial_conversations(&mut self) -> &mut Self[src]

pub fn mopt_initial_conversations(
    &mut self,
    value: Option<Vec<SlackConversationId>>
) -> &mut Self
[src]

pub fn with_initial_conversations(self, value: Vec<SlackConversationId>) -> Self[src]

pub fn without_initial_conversations(self) -> Self[src]

pub fn opt_initial_conversations(
    self,
    value: Option<Vec<SlackConversationId>>
) -> Self
[src]

pub fn default_to_current_conversation(&mut self, value: bool) -> &mut Self[src]

pub fn reset_default_to_current_conversation(&mut self) -> &mut Self[src]

pub fn mopt_default_to_current_conversation(
    &mut self,
    value: Option<bool>
) -> &mut Self
[src]

pub fn with_default_to_current_conversation(self, value: bool) -> Self[src]

pub fn without_default_to_current_conversation(self) -> Self[src]

pub fn opt_default_to_current_conversation(self, value: Option<bool>) -> Self[src]

pub fn confirm(&mut self, value: SlackBlockConfirmItem) -> &mut Self[src]

pub fn reset_confirm(&mut self) -> &mut Self[src]

pub fn mopt_confirm(
    &mut self,
    value: Option<SlackBlockConfirmItem>
) -> &mut Self
[src]

pub fn with_confirm(self, value: SlackBlockConfirmItem) -> Self[src]

pub fn without_confirm(self) -> Self[src]

pub fn opt_confirm(self, value: Option<SlackBlockConfirmItem>) -> Self[src]

pub fn max_selected_items(&mut self, value: u64) -> &mut Self[src]

pub fn reset_max_selected_items(&mut self) -> &mut Self[src]

pub fn mopt_max_selected_items(&mut self, value: Option<u64>) -> &mut Self[src]

pub fn with_max_selected_items(self, value: u64) -> Self[src]

pub fn without_max_selected_items(self) -> Self[src]

pub fn opt_max_selected_items(self, value: Option<u64>) -> Self[src]

Trait Implementations

impl Clone for SlackBlockMultiConversationsSelectElement[src]

impl Debug for SlackBlockMultiConversationsSelectElement[src]

impl<'de> Deserialize<'de> for SlackBlockMultiConversationsSelectElement[src]

impl From<SlackBlockMultiConversationsSelectElement> for SlackSectionBlockElement[src]

impl From<SlackBlockMultiConversationsSelectElement> for SlackInputBlockElement[src]

impl From<SlackBlockMultiConversationsSelectElementInit> for SlackBlockMultiConversationsSelectElement[src]

impl PartialEq<SlackBlockMultiConversationsSelectElement> for SlackBlockMultiConversationsSelectElement[src]

impl Serialize for SlackBlockMultiConversationsSelectElement[src]

impl StructuralPartialEq for SlackBlockMultiConversationsSelectElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.