[−][src]Struct slack_morphism::listener::SlackInteractionActionInfo
Implementations
impl SlackInteractionActionInfo
[src]
pub fn new(
action_type: SlackActionType,
action_id: SlackActionId
) -> SlackInteractionActionInfo
[src]
action_type: SlackActionType,
action_id: SlackActionId
) -> SlackInteractionActionInfo
pub fn action_type(
&mut self,
value: SlackActionType
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: SlackActionType
) -> &mut SlackInteractionActionInfo
pub fn with_action_type(
self,
value: SlackActionType
) -> SlackInteractionActionInfo
[src]
self,
value: SlackActionType
) -> SlackInteractionActionInfo
pub fn action_id(
&mut self,
value: SlackActionId
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: SlackActionId
) -> &mut SlackInteractionActionInfo
pub fn with_action_id(self, value: SlackActionId) -> SlackInteractionActionInfo
[src]
pub fn block_id(
&mut self,
value: SlackBlockId
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: SlackBlockId
) -> &mut SlackInteractionActionInfo
pub fn reset_block_id(&mut self) -> &mut SlackInteractionActionInfo
[src]
pub fn mopt_block_id(
&mut self,
value: Option<SlackBlockId>
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: Option<SlackBlockId>
) -> &mut SlackInteractionActionInfo
pub fn with_block_id(self, value: SlackBlockId) -> SlackInteractionActionInfo
[src]
pub fn without_block_id(self) -> SlackInteractionActionInfo
[src]
pub fn opt_block_id(
self,
value: Option<SlackBlockId>
) -> SlackInteractionActionInfo
[src]
self,
value: Option<SlackBlockId>
) -> SlackInteractionActionInfo
pub fn text(&mut self, value: SlackBlockText) -> &mut SlackInteractionActionInfo
[src]
pub fn reset_text(&mut self) -> &mut SlackInteractionActionInfo
[src]
pub fn mopt_text(
&mut self,
value: Option<SlackBlockText>
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: Option<SlackBlockText>
) -> &mut SlackInteractionActionInfo
pub fn with_text(self, value: SlackBlockText) -> SlackInteractionActionInfo
[src]
pub fn without_text(self) -> SlackInteractionActionInfo
[src]
pub fn opt_text(
self,
value: Option<SlackBlockText>
) -> SlackInteractionActionInfo
[src]
self,
value: Option<SlackBlockText>
) -> SlackInteractionActionInfo
pub fn value(&mut self, value: String) -> &mut SlackInteractionActionInfo
[src]
pub fn reset_value(&mut self) -> &mut SlackInteractionActionInfo
[src]
pub fn mopt_value(
&mut self,
value: Option<String>
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: Option<String>
) -> &mut SlackInteractionActionInfo
pub fn with_value(self, value: String) -> SlackInteractionActionInfo
[src]
pub fn without_value(self) -> SlackInteractionActionInfo
[src]
pub fn opt_value(self, value: Option<String>) -> SlackInteractionActionInfo
[src]
pub fn selected_option(
&mut self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> &mut SlackInteractionActionInfo
pub fn reset_selected_option(&mut self) -> &mut SlackInteractionActionInfo
[src]
pub fn mopt_selected_option(
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> &mut SlackInteractionActionInfo
pub fn with_selected_option(
self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> SlackInteractionActionInfo
[src]
self,
value: SlackBlockChoiceItem<SlackBlockText>
) -> SlackInteractionActionInfo
pub fn without_selected_option(self) -> SlackInteractionActionInfo
[src]
pub fn opt_selected_option(
self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> SlackInteractionActionInfo
[src]
self,
value: Option<SlackBlockChoiceItem<SlackBlockText>>
) -> SlackInteractionActionInfo
pub fn action_ts(&mut self, value: SlackTs) -> &mut SlackInteractionActionInfo
[src]
pub fn reset_action_ts(&mut self) -> &mut SlackInteractionActionInfo
[src]
pub fn mopt_action_ts(
&mut self,
value: Option<SlackTs>
) -> &mut SlackInteractionActionInfo
[src]
&mut self,
value: Option<SlackTs>
) -> &mut SlackInteractionActionInfo
pub fn with_action_ts(self, value: SlackTs) -> SlackInteractionActionInfo
[src]
pub fn without_action_ts(self) -> SlackInteractionActionInfo
[src]
pub fn opt_action_ts(self, value: Option<SlackTs>) -> SlackInteractionActionInfo
[src]
Trait Implementations
impl Clone for SlackInteractionActionInfo
[src]
fn clone(&self) -> SlackInteractionActionInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackInteractionActionInfo
[src]
impl<'de> Deserialize<'de> for SlackInteractionActionInfo
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackInteractionActionInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SlackInteractionActionInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<SlackInteractionActionInfoInit> for SlackInteractionActionInfo
[src]
impl PartialEq<SlackInteractionActionInfo> for SlackInteractionActionInfo
[src]
fn eq(&self, other: &SlackInteractionActionInfo) -> bool
[src]
fn ne(&self, other: &SlackInteractionActionInfo) -> bool
[src]
impl Serialize for SlackInteractionActionInfo
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for SlackInteractionActionInfo
impl Send for SlackInteractionActionInfo
impl Sync for SlackInteractionActionInfo
impl Unpin for SlackInteractionActionInfo
impl UnwindSafe for SlackInteractionActionInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,