pub struct ActionsBlock {
pub elements: Vec<ActionsElement>,
pub block_id: Option<String>,
/* private fields */
}Expand description
A block that holds interactive elements. https://docs.slack.dev/reference/block-kit/blocks/actions-block
Fields§
§elements: Vec<ActionsElement>§block_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ActionsBlock
impl Clone for ActionsBlock
Source§impl Debug for ActionsBlock
impl Debug for ActionsBlock
Source§impl<'de> Deserialize<'de> for ActionsBlock
impl<'de> Deserialize<'de> for ActionsBlock
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 From<ActionsBlock> for Block
impl From<ActionsBlock> for Block
Source§fn from(value: ActionsBlock) -> Self
fn from(value: ActionsBlock) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionsBlock
impl PartialEq for ActionsBlock
Source§impl Serialize for ActionsBlock
impl Serialize for ActionsBlock
impl StructuralPartialEq 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 UnsafeUnpin 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