Struct sfr_slack_api::ChatPostMessageBuilder
source · pub struct ChatPostMessageBuilder { /* private fields */ }Expand description
The builder for ChatPostMessage.
Implementations§
source§impl ChatPostMessageBuilder
impl ChatPostMessageBuilder
sourcepub fn build(self) -> Result<ChatPostMessage, Error>
pub fn build(self) -> Result<ChatPostMessage, Error>
Builds ChatPostMessage.
sourcepub fn attachments(self, attachments: Vec<(String, String)>) -> Self
pub fn attachments(self, attachments: Vec<(String, String)>) -> Self
Sets Attachments to content.
sourcepub fn icon_emoji(self, icon_emoji: String) -> Self
pub fn icon_emoji(self, icon_emoji: String) -> Self
Sets icon_emoji.
sourcepub fn link_names(self, link_names: bool) -> Self
pub fn link_names(self, link_names: bool) -> Self
Sets link_names.
sourcepub fn reply_broadcast(self, reply_broadcast: bool) -> Self
pub fn reply_broadcast(self, reply_broadcast: bool) -> Self
Sets reply_broadcast.
sourcepub fn unfurl_links(self, unfurl_links: bool) -> Self
pub fn unfurl_links(self, unfurl_links: bool) -> Self
Sets unfurl_links.
sourcepub fn unfurl_media(self, unfurl_media: bool) -> Self
pub fn unfurl_media(self, unfurl_media: bool) -> Self
Sets unfurl_media.
Trait Implementations§
source§impl Debug for ChatPostMessageBuilder
impl Debug for ChatPostMessageBuilder
source§impl Default for ChatPostMessageBuilder
impl Default for ChatPostMessageBuilder
source§fn default() -> ChatPostMessageBuilder
fn default() -> ChatPostMessageBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChatPostMessageBuilder
impl RefUnwindSafe for ChatPostMessageBuilder
impl Send for ChatPostMessageBuilder
impl Sync for ChatPostMessageBuilder
impl Unpin for ChatPostMessageBuilder
impl UnwindSafe for ChatPostMessageBuilder
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