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