[−][src]Struct slack_morphism::prelude::blocks::SlackBlockExternalSelectElement
Fields
action_id: SlackActionId
placeholder: SlackBlockPlainTextOnly
initial_option: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
confirm: Option<SlackBlockConfirmItem>
Implementations
impl SlackBlockExternalSelectElement
[src]
pub fn new(
action_id: SlackActionId,
placeholder: SlackBlockPlainTextOnly
) -> SlackBlockExternalSelectElement
[src]
action_id: SlackActionId,
placeholder: SlackBlockPlainTextOnly
) -> SlackBlockExternalSelectElement
pub fn action_id(
&mut self,
value: SlackActionId
) -> &mut SlackBlockExternalSelectElement
[src]
&mut self,
value: SlackActionId
) -> &mut SlackBlockExternalSelectElement
pub fn with_action_id(
self,
value: SlackActionId
) -> SlackBlockExternalSelectElement
[src]
self,
value: SlackActionId
) -> SlackBlockExternalSelectElement
pub fn placeholder(
&mut self,
value: SlackBlockPlainTextOnly
) -> &mut SlackBlockExternalSelectElement
[src]
&mut self,
value: SlackBlockPlainTextOnly
) -> &mut SlackBlockExternalSelectElement
pub fn with_placeholder(
self,
value: SlackBlockPlainTextOnly
) -> SlackBlockExternalSelectElement
[src]
self,
value: SlackBlockPlainTextOnly
) -> SlackBlockExternalSelectElement
pub fn initial_option(
&mut self,
value: SlackBlockChoiceItem<SlackBlockPlainTextOnly>
) -> &mut SlackBlockExternalSelectElement
[src]
&mut self,
value: SlackBlockChoiceItem<SlackBlockPlainTextOnly>
) -> &mut SlackBlockExternalSelectElement
pub fn reset_initial_option(&mut self) -> &mut SlackBlockExternalSelectElement
[src]
pub fn mopt_initial_option(
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> &mut SlackBlockExternalSelectElement
[src]
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> &mut SlackBlockExternalSelectElement
pub fn with_initial_option(
self,
value: SlackBlockChoiceItem<SlackBlockPlainTextOnly>
) -> SlackBlockExternalSelectElement
[src]
self,
value: SlackBlockChoiceItem<SlackBlockPlainTextOnly>
) -> SlackBlockExternalSelectElement
pub fn without_initial_option(self) -> SlackBlockExternalSelectElement
[src]
pub fn opt_initial_option(
self,
value: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> SlackBlockExternalSelectElement
[src]
self,
value: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> SlackBlockExternalSelectElement
pub fn confirm(
&mut self,
value: SlackBlockConfirmItem
) -> &mut SlackBlockExternalSelectElement
[src]
&mut self,
value: SlackBlockConfirmItem
) -> &mut SlackBlockExternalSelectElement
pub fn reset_confirm(&mut self) -> &mut SlackBlockExternalSelectElement
[src]
pub fn mopt_confirm(
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut SlackBlockExternalSelectElement
[src]
&mut self,
value: Option<SlackBlockConfirmItem>
) -> &mut SlackBlockExternalSelectElement
pub fn with_confirm(
self,
value: SlackBlockConfirmItem
) -> SlackBlockExternalSelectElement
[src]
self,
value: SlackBlockConfirmItem
) -> SlackBlockExternalSelectElement
pub fn without_confirm(self) -> SlackBlockExternalSelectElement
[src]
pub fn opt_confirm(
self,
value: Option<SlackBlockConfirmItem>
) -> SlackBlockExternalSelectElement
[src]
self,
value: Option<SlackBlockConfirmItem>
) -> SlackBlockExternalSelectElement
Trait Implementations
impl Clone for SlackBlockExternalSelectElement
[src]
fn clone(&self) -> SlackBlockExternalSelectElement
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackBlockExternalSelectElement
[src]
impl<'de> Deserialize<'de> for SlackBlockExternalSelectElement
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackBlockExternalSelectElement, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SlackBlockExternalSelectElement, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<SlackBlockExternalSelectElement> for SlackInputBlockElement
[src]
fn from(element: SlackBlockExternalSelectElement) -> SlackInputBlockElement
[src]
impl From<SlackBlockExternalSelectElement> for SlackSectionBlockElement
[src]
fn from(element: SlackBlockExternalSelectElement) -> SlackSectionBlockElement
[src]
impl From<SlackBlockExternalSelectElementInit> for SlackBlockExternalSelectElement
[src]
impl PartialEq<SlackBlockExternalSelectElement> for SlackBlockExternalSelectElement
[src]
fn eq(&self, other: &SlackBlockExternalSelectElement) -> bool
[src]
fn ne(&self, other: &SlackBlockExternalSelectElement) -> bool
[src]
impl Serialize for SlackBlockExternalSelectElement
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockExternalSelectElement
impl Send for SlackBlockExternalSelectElement
impl Sync for SlackBlockExternalSelectElement
impl Unpin for SlackBlockExternalSelectElement
impl UnwindSafe for SlackBlockExternalSelectElement
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>,