Struct slack_morphism_models::blocks::SlackBlockCheckboxesElement [−][src]
pub struct SlackBlockCheckboxesElement { pub action_id: SlackActionId, pub options: Vec<SlackBlockChoiceItem<SlackBlockText>>, pub initial_options: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>, pub confirm: Option<SlackBlockConfirmItem>, }
Fields
action_id: SlackActionId
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
initial_options: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
confirm: Option<SlackBlockConfirmItem>
Implementations
pub fn new(
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self
pub fn initial_options(
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self
pub fn mopt_initial_options(
&mut self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
) -> &mut Self
pub fn opt_initial_options(
self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
) -> 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.
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 RefUnwindSafe for SlackBlockCheckboxesElement
impl Send for SlackBlockCheckboxesElement
impl Sync for SlackBlockCheckboxesElement
impl Unpin for SlackBlockCheckboxesElement
impl UnwindSafe for SlackBlockCheckboxesElement
Blanket Implementations
Mutably borrows from an owned value. Read more