//! Image block.
//!//! <https://api.slack.com/reference/block-kit/blocks#image>
usecrate::BlockId;usecrate::TextObject;useserde::Serialize;/// Image block.
////// <https://api.slack.com/reference/block-kit/blocks#image>
#[derive(Serialize, Debug, Clone)]#[serde(rename_all ="snake_case")]pubstructImageBlock{/// A plain-text summary of the image.
pubalt_text: String,
/// The URL for a publicly hosted image.
#[serde(skip_serializing_if ="Option::is_none")]pubimage_url:Option<url::Url>,
// /// Slack file object.
// ///
// /// <https://api.slack.com/reference/block-kit/composition-objects#slack_file>
// #[serde(skip_serializing_if = "Option::is_none")]
// pub slack_file: Option<>,
/// An optional title for the image in the form of a [text object](https://api.slack.com/reference/messaging/composition-objects#text) that can only be of `type: plain_text`.
#[serde(skip_serializing_if ="Option::is_none")]pubtitle:Option<TextObject>,
/// A unique identifier for a block.
#[serde(skip_serializing_if ="Option::is_none")]pubblock_id:Option<BlockId>,
}