Struct slack_morphism::api::SlackApiReactionsAddRequest
source · pub struct SlackApiReactionsAddRequest {
pub channel: SlackChannelId,
pub name: SlackReactionName,
pub timestamp: SlackTs,
}
Fields§
§channel: SlackChannelId
§name: SlackReactionName
§timestamp: SlackTs
Implementations§
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.
source§impl PartialEq for SlackApiReactionsAddRequest
impl PartialEq for SlackApiReactionsAddRequest
source§fn eq(&self, other: &SlackApiReactionsAddRequest) -> bool
fn eq(&self, other: &SlackApiReactionsAddRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackApiReactionsAddRequest
Auto Trait Implementations§
impl RefUnwindSafe for SlackApiReactionsAddRequest
impl Send for SlackApiReactionsAddRequest
impl Sync for SlackApiReactionsAddRequest
impl Unpin for SlackApiReactionsAddRequest
impl UnwindSafe for SlackApiReactionsAddRequest
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