Struct slack_morphism::api::SlackApiReactionsAddRequest
source · pub struct SlackApiReactionsAddRequest {
pub channel: SlackChannelId,
pub name: SlackReactionName,
pub timestamp: SlackTs,
}Fields§
§channel: SlackChannelId§name: SlackReactionName§timestamp: SlackTsImplementations§
source§impl SlackApiReactionsAddRequest
impl SlackApiReactionsAddRequest
pub fn new(
channel: SlackChannelId,
name: SlackReactionName,
timestamp: SlackTs
) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn name(&mut self, value: SlackReactionName) -> &mut Self
pub fn with_name(self, value: SlackReactionName) -> Self
pub fn timestamp(&mut self, value: SlackTs) -> &mut Self
pub fn with_timestamp(self, value: SlackTs) -> Self
Trait Implementations§
source§impl Clone for SlackApiReactionsAddRequest
impl Clone for SlackApiReactionsAddRequest
source§fn clone(&self) -> SlackApiReactionsAddRequest
fn clone(&self) -> SlackApiReactionsAddRequest
Returns a copy 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 Debug for SlackApiReactionsAddRequest
impl Debug for SlackApiReactionsAddRequest
source§impl<'de> Deserialize<'de> for SlackApiReactionsAddRequest
impl<'de> Deserialize<'de> for SlackApiReactionsAddRequest
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<SlackApiReactionsAddRequestInit> for SlackApiReactionsAddRequest
impl From<SlackApiReactionsAddRequestInit> for SlackApiReactionsAddRequest
source§fn from(value: SlackApiReactionsAddRequestInit) -> Self
fn from(value: SlackApiReactionsAddRequestInit) -> Self
Converts to this type from the input type.