pub struct SlackAccessory {
pub accessory_type: String,
pub image_url: String,
pub alt_text: String,
}Expand description
An accessory element that can be added to section blocks (e.g., images).
Fields§
§accessory_type: StringThe type of accessory (e.g., “image”).
image_url: StringThe URL of the image.
alt_text: StringAlternative text for accessibility.
Trait Implementations§
Source§impl Clone for SlackAccessory
impl Clone for SlackAccessory
Source§impl Debug for SlackAccessory
impl Debug for SlackAccessory
Auto Trait Implementations§
impl Freeze for SlackAccessory
impl RefUnwindSafe for SlackAccessory
impl Send for SlackAccessory
impl Sync for SlackAccessory
impl Unpin for SlackAccessory
impl UnsafeUnpin for SlackAccessory
impl UnwindSafe for SlackAccessory
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