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: SlackActionIdoptions: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>confirm: Option<SlackBlockConfirmItem>Implementations
pub fn new(
action_id: SlackActionId,
options: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> Self[src]pub fn options(
&mut self,
value: Vec<SlackBlockChoiceItem<SlackBlockPlainTextOnly>>
) -> &mut 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.
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 SlackBlockOverflowElementimpl Send for SlackBlockOverflowElementimpl Sync for SlackBlockOverflowElementimpl Unpin for SlackBlockOverflowElementimpl UnwindSafe for SlackBlockOverflowElementBlanket Implementations
Mutably borrows from an owned value. Read more