pub struct ActionsBlock {
pub elements: Vec<Element>,
pub block_id: Option<BlockId>,
}Expand description
Actions block.
Fields§
§elements: Vec<Element>An array of interactive element objects - buttons, select menus, overflow menus, or date pickers.
block_id: Option<BlockId>A unique identifier for a block.
Trait Implementations§
Source§impl Clone for ActionsBlock
impl Clone for ActionsBlock
Source§fn clone(&self) -> ActionsBlock
fn clone(&self) -> ActionsBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionsBlock
impl Debug for ActionsBlock
Auto Trait Implementations§
impl Freeze for ActionsBlock
impl RefUnwindSafe for ActionsBlock
impl Send for ActionsBlock
impl Sync for ActionsBlock
impl Unpin for ActionsBlock
impl UnwindSafe for ActionsBlock
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