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: SlackActionIdoptions: Vec<SlackBlockChoiceItem<SlackBlockText>>initial_options: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>confirm: Option<SlackBlockConfirmItem>Implementations
pub fn new(
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> Self[src]pub fn initial_options(
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut Self[src]pub fn mopt_initial_options(
&mut self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
) -> &mut Self[src]pub fn opt_initial_options(
self,
value: Option<Vec<SlackBlockChoiceItem<SlackBlockText>>>
) -> Self[src]Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]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 SlackBlockCheckboxesElementimpl Send for SlackBlockCheckboxesElementimpl Sync for SlackBlockCheckboxesElementimpl Unpin for SlackBlockCheckboxesElementimpl UnwindSafe for SlackBlockCheckboxesElementBlanket Implementations
Mutably borrows from an owned value. Read more