pub struct SlackSectionBlock {
pub text: Option<SlackText>,
pub fields: Vec<SlackText>,
pub accessory: Option<SlackAccessory>,
}Expand description
A section block containing text, optional fields, and an optional accessory.
Fields§
§text: Option<SlackText>The main text content of the section.
fields: Vec<SlackText>Additional fields displayed side-by-side below the text.
accessory: Option<SlackAccessory>An optional accessory (image, button, etc.) displayed on the right.
Trait Implementations§
Source§impl Clone for SlackSectionBlock
impl Clone for SlackSectionBlock
Source§impl Debug for SlackSectionBlock
impl Debug for SlackSectionBlock
Auto Trait Implementations§
impl Freeze for SlackSectionBlock
impl RefUnwindSafe for SlackSectionBlock
impl Send for SlackSectionBlock
impl Sync for SlackSectionBlock
impl Unpin for SlackSectionBlock
impl UnsafeUnpin for SlackSectionBlock
impl UnwindSafe for SlackSectionBlock
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