1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Divider block. //! //! <https://api.slack.com/reference/block-kit/blocks#divider> use crate::BlockId; use serde::Serialize; /// Divider block. /// /// <https://api.slack.com/reference/block-kit/blocks#divider> #[derive(Serialize, Debug, Clone)] #[serde(rename_all = "snake_case")] pub struct DividerBlock { /// A unique identifier for a block. #[serde(skip_serializing_if = "Option::is_none")] pub block_id: Option<BlockId>, }