pub struct MessageBuilder { /* private fields */ }Expand description
Builder for Message object.
Implementations§
Source§impl MessageBuilder
impl MessageBuilder
Sourcepub fn get_blocks(&self) -> Option<&[Block]>
pub fn get_blocks(&self) -> Option<&[Block]>
get blocks field value.
Sourcepub fn get_thread_ts(&self) -> Option<&String>
pub fn get_thread_ts(&self) -> Option<&String>
get thread_ts field value.
Sourcepub fn set_thread_ts(self, value: Option<impl Into<String>>) -> Self
pub fn set_thread_ts(self, value: Option<impl Into<String>>) -> Self
set thread_ts field value.
Sourcepub fn get_mrkdwn(&self) -> Option<bool>
pub fn get_mrkdwn(&self) -> Option<bool>
get mrkdwn field value.
Sourcepub fn set_mrkdwn(self, value: Option<impl Into<bool>>) -> Self
pub fn set_mrkdwn(self, value: Option<impl Into<bool>>) -> Self
set mrkdwn field value.
Sourcepub fn get_response_type(&self) -> Option<&String>
pub fn get_response_type(&self) -> Option<&String>
get response_type field value.
Sourcepub fn set_response_type(self, value: Option<impl Into<String>>) -> Self
pub fn set_response_type(self, value: Option<impl Into<String>>) -> Self
set response_type field value.
Sourcepub fn response_type(self, value: impl Into<String>) -> Self
pub fn response_type(self, value: impl Into<String>) -> Self
set response_type field value.
Sourcepub fn get_replace_original(&self) -> Option<bool>
pub fn get_replace_original(&self) -> Option<bool>
get replace_original field value.
Sourcepub fn set_replace_original(self, value: Option<impl Into<bool>>) -> Self
pub fn set_replace_original(self, value: Option<impl Into<bool>>) -> Self
set replace_original field value.
Sourcepub fn replace_original(self, value: impl Into<bool>) -> Self
pub fn replace_original(self, value: impl Into<bool>) -> Self
set replace_original field value.
Sourcepub fn get_delete_original(&self) -> Option<bool>
pub fn get_delete_original(&self) -> Option<bool>
get delete_original field value.
Sourcepub fn set_delete_original(self, value: Option<impl Into<bool>>) -> Self
pub fn set_delete_original(self, value: Option<impl Into<bool>>) -> Self
set delete_original field value.
Sourcepub fn delete_original(self, value: impl Into<bool>) -> Self
pub fn delete_original(self, value: impl Into<bool>) -> Self
set delete_original field value.
Sourcepub fn get_reply_broadcast(&self) -> Option<bool>
pub fn get_reply_broadcast(&self) -> Option<bool>
get reply_broadcast field value.
Sourcepub fn set_reply_broadcast(self, value: Option<impl Into<bool>>) -> Self
pub fn set_reply_broadcast(self, value: Option<impl Into<bool>>) -> Self
set reply_broadcast field value.
Sourcepub fn reply_broadcast(self, value: impl Into<bool>) -> Self
pub fn reply_broadcast(self, value: impl Into<bool>) -> Self
set reply_broadcast field value.
Trait Implementations§
Source§impl Debug for MessageBuilder
impl Debug for MessageBuilder
Auto Trait Implementations§
impl Freeze for MessageBuilder
impl RefUnwindSafe for MessageBuilder
impl Send for MessageBuilder
impl Sync for MessageBuilder
impl Unpin for MessageBuilder
impl UnsafeUnpin for MessageBuilder
impl UnwindSafe for MessageBuilder
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