Struct slack_morphism::api::SlackApiChatScheduleMessageRequest [−][src]
pub struct SlackApiChatScheduleMessageRequest {Show 13 fields
pub channel: SlackChannelId,
pub content: SlackMessageContent,
pub post_at: SlackDateTime,
pub as_user: Option<bool>,
pub icon_emoji: Option<String>,
pub icon_url: Option<String>,
pub link_names: Option<bool>,
pub parse: Option<String>,
pub thread_ts: Option<SlackTs>,
pub username: Option<String>,
pub reply_broadcast: Option<bool>,
pub unfurl_links: Option<bool>,
pub unfurl_media: Option<bool>,
}Fields
channel: SlackChannelIdcontent: SlackMessageContentpost_at: SlackDateTimeas_user: Option<bool>icon_emoji: Option<String>icon_url: Option<String>link_names: Option<bool>parse: Option<String>thread_ts: Option<SlackTs>username: Option<String>reply_broadcast: Option<bool>unfurl_links: Option<bool>unfurl_media: Option<bool>Implementations
pub fn new(
channel: SlackChannelId,
content: SlackMessageContent,
post_at: SlackDateTime
) -> Self
Trait Implementations
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
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for SlackApiChatScheduleMessageRequest
impl Sync for SlackApiChatScheduleMessageRequest
impl Unpin for SlackApiChatScheduleMessageRequest
Blanket Implementations
Mutably borrows from an owned value. Read more