pub struct SlackInteractionActionMessageAttachmentContainer {
pub message_ts: SlackTs,
pub attachment_id: SlackMessageAttachmentId,
pub channel_id: Option<SlackChannelId>,
pub is_ephemeral: Option<bool>,
pub is_app_unfurl: Option<bool>,
}Fields§
§message_ts: SlackTs§attachment_id: SlackMessageAttachmentId§channel_id: Option<SlackChannelId>§is_ephemeral: Option<bool>§is_app_unfurl: Option<bool>Implementations§
Source§impl SlackInteractionActionMessageAttachmentContainer
impl SlackInteractionActionMessageAttachmentContainer
pub fn new(message_ts: SlackTs, attachment_id: SlackMessageAttachmentId) -> Self
pub fn message_ts(&mut self, value: SlackTs) -> &mut Self
pub fn with_message_ts(self, value: SlackTs) -> Self
pub fn attachment_id(&mut self, value: SlackMessageAttachmentId) -> &mut Self
pub fn with_attachment_id(self, value: SlackMessageAttachmentId) -> Self
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
pub fn reset_channel_id(&mut self) -> &mut Self
pub fn mopt_channel_id(&mut self, value: Option<SlackChannelId>) -> &mut Self
pub fn with_channel_id(self, value: SlackChannelId) -> Self
pub fn without_channel_id(self) -> Self
pub fn opt_channel_id(self, value: Option<SlackChannelId>) -> Self
pub fn is_ephemeral(&mut self, value: bool) -> &mut Self
pub fn reset_is_ephemeral(&mut self) -> &mut Self
pub fn mopt_is_ephemeral(&mut self, value: Option<bool>) -> &mut Self
pub fn with_is_ephemeral(self, value: bool) -> Self
pub fn without_is_ephemeral(self) -> Self
pub fn opt_is_ephemeral(self, value: Option<bool>) -> Self
pub fn is_app_unfurl(&mut self, value: bool) -> &mut Self
pub fn reset_is_app_unfurl(&mut self) -> &mut Self
pub fn mopt_is_app_unfurl(&mut self, value: Option<bool>) -> &mut Self
pub fn with_is_app_unfurl(self, value: bool) -> Self
pub fn without_is_app_unfurl(self) -> Self
pub fn opt_is_app_unfurl(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for SlackInteractionActionMessageAttachmentContainer
impl Clone for SlackInteractionActionMessageAttachmentContainer
Source§fn clone(&self) -> SlackInteractionActionMessageAttachmentContainer
fn clone(&self) -> SlackInteractionActionMessageAttachmentContainer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SlackInteractionActionMessageAttachmentContainer
impl<'de> Deserialize<'de> for SlackInteractionActionMessageAttachmentContainer
Source§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
Source§impl From<SlackInteractionActionMessageAttachmentContainerInit> for SlackInteractionActionMessageAttachmentContainer
impl From<SlackInteractionActionMessageAttachmentContainerInit> for SlackInteractionActionMessageAttachmentContainer
Source§fn from(value: SlackInteractionActionMessageAttachmentContainerInit) -> Self
fn from(value: SlackInteractionActionMessageAttachmentContainerInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackInteractionActionMessageAttachmentContainer
impl PartialEq for SlackInteractionActionMessageAttachmentContainer
Source§fn eq(&self, other: &SlackInteractionActionMessageAttachmentContainer) -> bool
fn eq(&self, other: &SlackInteractionActionMessageAttachmentContainer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlackInteractionActionMessageAttachmentContainer
Auto Trait Implementations§
impl Freeze for SlackInteractionActionMessageAttachmentContainer
impl RefUnwindSafe for SlackInteractionActionMessageAttachmentContainer
impl Send for SlackInteractionActionMessageAttachmentContainer
impl Sync for SlackInteractionActionMessageAttachmentContainer
impl Unpin for SlackInteractionActionMessageAttachmentContainer
impl UnsafeUnpin for SlackInteractionActionMessageAttachmentContainer
impl UnwindSafe for SlackInteractionActionMessageAttachmentContainer
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