[−][src]Struct slack_morphism_models::blocks::SlackBlockConversationsSelectElement
Fields
action_id: SlackActionId
placeholder: SlackBlockPlainTextOnly
initial_conversation: Option<SlackConversationId>
default_to_current_conversation: Option<bool>
confirm: Option<SlackBlockConfirmItem>
response_url_enabled: Option<bool>
Implementations
impl SlackBlockConversationsSelectElement
[src]
pub fn new(
action_id: SlackActionId,
placeholder: SlackBlockPlainTextOnly
) -> Self
[src]
action_id: SlackActionId,
placeholder: SlackBlockPlainTextOnly
) -> Self
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_conversation(&mut self, value: SlackConversationId) -> &mut Self
[src]
pub fn reset_initial_conversation(&mut self) -> &mut Self
[src]
pub fn mopt_initial_conversation(
&mut self,
value: Option<SlackConversationId>
) -> &mut Self
[src]
&mut self,
value: Option<SlackConversationId>
) -> &mut Self
pub fn with_initial_conversation(self, value: SlackConversationId) -> Self
[src]
pub fn without_initial_conversation(self) -> Self
[src]
pub fn opt_initial_conversation(
self,
value: Option<SlackConversationId>
) -> Self
[src]
self,
value: Option<SlackConversationId>
) -> Self
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]
&mut self,
value: Option<bool>
) -> &mut Self
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]
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut Self
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 response_url_enabled(&mut self, value: bool) -> &mut Self
[src]
pub fn reset_response_url_enabled(&mut self) -> &mut Self
[src]
pub fn mopt_response_url_enabled(&mut self, value: Option<bool>) -> &mut Self
[src]
pub fn with_response_url_enabled(self, value: bool) -> Self
[src]
pub fn without_response_url_enabled(self) -> Self
[src]
pub fn opt_response_url_enabled(self, value: Option<bool>) -> Self
[src]
Trait Implementations
impl Clone for SlackBlockConversationsSelectElement
[src]
fn clone(&self) -> SlackBlockConversationsSelectElement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackBlockConversationsSelectElement
[src]
impl<'de> Deserialize<'de> for SlackBlockConversationsSelectElement
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<SlackBlockConversationsSelectElement> for SlackSectionBlockElement
[src]
fn from(element: SlackBlockConversationsSelectElement) -> Self
[src]
impl From<SlackBlockConversationsSelectElement> for SlackInputBlockElement
[src]
fn from(element: SlackBlockConversationsSelectElement) -> Self
[src]
impl From<SlackBlockConversationsSelectElementInit> for SlackBlockConversationsSelectElement
[src]
fn from(value: SlackBlockConversationsSelectElementInit) -> Self
[src]
impl PartialEq<SlackBlockConversationsSelectElement> for SlackBlockConversationsSelectElement
[src]
fn eq(&self, other: &SlackBlockConversationsSelectElement) -> bool
[src]
fn ne(&self, other: &SlackBlockConversationsSelectElement) -> bool
[src]
impl Serialize for SlackBlockConversationsSelectElement
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SlackBlockConversationsSelectElement
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockConversationsSelectElement
impl Send for SlackBlockConversationsSelectElement
impl Sync for SlackBlockConversationsSelectElement
impl Unpin for SlackBlockConversationsSelectElement
impl UnwindSafe for SlackBlockConversationsSelectElement
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,