pub struct SlackBlockExternalSelectElement {
pub action_id: SlackActionId,
pub placeholder: SlackBlockPlainTextOnly,
pub initial_option: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>,
pub confirm: Option<SlackBlockConfirmItem>,
}Fields
action_id: SlackActionIdplaceholder: SlackBlockPlainTextOnlyinitial_option: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>confirm: Option<SlackBlockConfirmItem>Implementations
pub fn initial_option(
&mut self,
value: SlackBlockChoiceItem<SlackBlockPlainTextOnly>
) -> &mut Self
pub fn mopt_initial_option(
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> &mut Self
pub fn with_initial_option(
self,
value: SlackBlockChoiceItem<SlackBlockPlainTextOnly>
) -> Self
pub fn opt_initial_option(
self,
value: Option<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> Self
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 SlackBlockExternalSelectElement
impl Sync for SlackBlockExternalSelectElement
impl Unpin for SlackBlockExternalSelectElement
Blanket Implementations
Mutably borrows from an owned value. Read more