pub struct OverflowBlockElement {
pub action_id: String,
pub options: Vec<OptionBlockObject>,
pub confirm: Option<ConfirmationBlockObject>,
}Expand description
This is like a cross between a button and a select menu.
See: https://api.slack.com/reference/block-kit/block-elements#overflow
Fields§
§action_id: String§options: Vec<OptionBlockObject>§confirm: Option<ConfirmationBlockObject>Implementations§
Source§impl OverflowBlockElement
impl OverflowBlockElement
pub fn builder( action_id: String, options: Vec<OptionBlockObject>, ) -> OverflowBlockElementBuilder
Trait Implementations§
Source§impl Debug for OverflowBlockElement
impl Debug for OverflowBlockElement
Source§impl Default for OverflowBlockElement
impl Default for OverflowBlockElement
Source§fn default() -> OverflowBlockElement
fn default() -> OverflowBlockElement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OverflowBlockElement
impl<'de> Deserialize<'de> for OverflowBlockElement
Source§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
Source§impl PartialEq for OverflowBlockElement
impl PartialEq for OverflowBlockElement
Source§impl Serialize for OverflowBlockElement
impl Serialize for OverflowBlockElement
impl StructuralPartialEq for OverflowBlockElement
Auto Trait Implementations§
impl Freeze for OverflowBlockElement
impl RefUnwindSafe for OverflowBlockElement
impl Send for OverflowBlockElement
impl Sync for OverflowBlockElement
impl Unpin for OverflowBlockElement
impl UnwindSafe for OverflowBlockElement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more