pub struct SlackInteractionActionMessageContainer {
pub message_ts: SlackTs,
pub channel_id: Option<SlackChannelId>,
pub is_ephemeral: Option<bool>,
pub is_app_unfurl: Option<bool>,
}Fields
message_ts: SlackTschannel_id: Option<SlackChannelId>is_ephemeral: Option<bool>is_app_unfurl: Option<bool>Implementations
sourceimpl SlackInteractionActionMessageContainer
impl SlackInteractionActionMessageContainer
pub fn new(message_ts: SlackTs) -> SlackInteractionActionMessageContainer
pub fn message_ts(
&mut self,
value: SlackTs
) -> &mut SlackInteractionActionMessageContainer
pub fn with_message_ts(
self,
value: SlackTs
) -> SlackInteractionActionMessageContainer
pub fn channel_id(
&mut self,
value: SlackChannelId
) -> &mut SlackInteractionActionMessageContainer
pub fn reset_channel_id(
&mut self
) -> &mut SlackInteractionActionMessageContainer
pub fn mopt_channel_id(
&mut self,
value: Option<SlackChannelId>
) -> &mut SlackInteractionActionMessageContainer
pub fn with_channel_id(
self,
value: SlackChannelId
) -> SlackInteractionActionMessageContainer
pub fn without_channel_id(self) -> SlackInteractionActionMessageContainer
pub fn opt_channel_id(
self,
value: Option<SlackChannelId>
) -> SlackInteractionActionMessageContainer
pub fn is_ephemeral(
&mut self,
value: bool
) -> &mut SlackInteractionActionMessageContainer
pub fn reset_is_ephemeral(
&mut self
) -> &mut SlackInteractionActionMessageContainer
pub fn mopt_is_ephemeral(
&mut self,
value: Option<bool>
) -> &mut SlackInteractionActionMessageContainer
pub fn with_is_ephemeral(
self,
value: bool
) -> SlackInteractionActionMessageContainer
pub fn without_is_ephemeral(self) -> SlackInteractionActionMessageContainer
pub fn opt_is_ephemeral(
self,
value: Option<bool>
) -> SlackInteractionActionMessageContainer
pub fn is_app_unfurl(
&mut self,
value: bool
) -> &mut SlackInteractionActionMessageContainer
pub fn reset_is_app_unfurl(
&mut self
) -> &mut SlackInteractionActionMessageContainer
pub fn mopt_is_app_unfurl(
&mut self,
value: Option<bool>
) -> &mut SlackInteractionActionMessageContainer
pub fn with_is_app_unfurl(
self,
value: bool
) -> SlackInteractionActionMessageContainer
pub fn without_is_app_unfurl(self) -> SlackInteractionActionMessageContainer
pub fn opt_is_app_unfurl(
self,
value: Option<bool>
) -> SlackInteractionActionMessageContainer
Trait Implementations
sourceimpl Clone for SlackInteractionActionMessageContainer
impl Clone for SlackInteractionActionMessageContainer
sourcefn clone(&self) -> SlackInteractionActionMessageContainer
fn clone(&self) -> SlackInteractionActionMessageContainer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'de> Deserialize<'de> for SlackInteractionActionMessageContainer
impl<'de> Deserialize<'de> for SlackInteractionActionMessageContainer
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionActionMessageContainer, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionActionMessageContainer, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<SlackInteractionActionMessageContainerInit> for SlackInteractionActionMessageContainer
impl From<SlackInteractionActionMessageContainerInit> for SlackInteractionActionMessageContainer
sourcefn from(
value: SlackInteractionActionMessageContainerInit
) -> SlackInteractionActionMessageContainer
fn from(
value: SlackInteractionActionMessageContainerInit
) -> SlackInteractionActionMessageContainer
Converts to this type from the input type.
sourceimpl PartialEq<SlackInteractionActionMessageContainer> for SlackInteractionActionMessageContainer
impl PartialEq<SlackInteractionActionMessageContainer> for SlackInteractionActionMessageContainer
sourcefn eq(&self, other: &SlackInteractionActionMessageContainer) -> bool
fn eq(&self, other: &SlackInteractionActionMessageContainer) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SlackInteractionActionMessageContainer) -> bool
fn ne(&self, other: &SlackInteractionActionMessageContainer) -> bool
This method tests for !=.
sourceimpl Serialize for SlackInteractionActionMessageContainer
impl Serialize for SlackInteractionActionMessageContainer
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SlackInteractionActionMessageContainer
Auto Trait Implementations
impl RefUnwindSafe for SlackInteractionActionMessageContainer
impl Send for SlackInteractionActionMessageContainer
impl Sync for SlackInteractionActionMessageContainer
impl Unpin for SlackInteractionActionMessageContainer
impl UnwindSafe for SlackInteractionActionMessageContainer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more