pub struct SlackApiReactionsRemoveRequest {
pub name: SlackReactionName,
pub channel: Option<SlackChannelId>,
pub file: Option<SlackFileId>,
pub full: Option<bool>,
pub timestamp: Option<SlackTs>,
}
Fields§
§name: SlackReactionName
§channel: Option<SlackChannelId>
§file: Option<SlackFileId>
§full: Option<bool>
§timestamp: Option<SlackTs>
Implementations§
Source§impl SlackApiReactionsRemoveRequest
impl SlackApiReactionsRemoveRequest
pub fn new(name: SlackReactionName) -> Self
pub fn name(&mut self, value: SlackReactionName) -> &mut Self
pub fn with_name(self, value: SlackReactionName) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn reset_channel(&mut self) -> &mut Self
pub fn mopt_channel(&mut self, value: Option<SlackChannelId>) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn without_channel(self) -> Self
pub fn opt_channel(self, value: Option<SlackChannelId>) -> Self
pub fn file(&mut self, value: SlackFileId) -> &mut Self
pub fn reset_file(&mut self) -> &mut Self
pub fn mopt_file(&mut self, value: Option<SlackFileId>) -> &mut Self
pub fn with_file(self, value: SlackFileId) -> Self
pub fn without_file(self) -> Self
pub fn opt_file(self, value: Option<SlackFileId>) -> Self
pub fn full(&mut self, value: bool) -> &mut Self
pub fn reset_full(&mut self) -> &mut Self
pub fn mopt_full(&mut self, value: Option<bool>) -> &mut Self
pub fn with_full(self, value: bool) -> Self
pub fn without_full(self) -> Self
pub fn opt_full(self, value: Option<bool>) -> Self
pub fn timestamp(&mut self, value: SlackTs) -> &mut Self
pub fn reset_timestamp(&mut self) -> &mut Self
pub fn mopt_timestamp(&mut self, value: Option<SlackTs>) -> &mut Self
pub fn with_timestamp(self, value: SlackTs) -> Self
pub fn without_timestamp(self) -> Self
pub fn opt_timestamp(self, value: Option<SlackTs>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiReactionsRemoveRequest
impl Clone for SlackApiReactionsRemoveRequest
Source§fn clone(&self) -> SlackApiReactionsRemoveRequest
fn clone(&self) -> SlackApiReactionsRemoveRequest
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<'de> Deserialize<'de> for SlackApiReactionsRemoveRequest
impl<'de> Deserialize<'de> for SlackApiReactionsRemoveRequest
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<SlackApiReactionsRemoveRequestInit> for SlackApiReactionsRemoveRequest
impl From<SlackApiReactionsRemoveRequestInit> for SlackApiReactionsRemoveRequest
Source§fn from(value: SlackApiReactionsRemoveRequestInit) -> Self
fn from(value: SlackApiReactionsRemoveRequestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiReactionsRemoveRequest
impl PartialEq for SlackApiReactionsRemoveRequest
Source§fn eq(&self, other: &SlackApiReactionsRemoveRequest) -> bool
fn eq(&self, other: &SlackApiReactionsRemoveRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackApiReactionsRemoveRequest
Auto Trait Implementations§
impl Freeze for SlackApiReactionsRemoveRequest
impl RefUnwindSafe for SlackApiReactionsRemoveRequest
impl Send for SlackApiReactionsRemoveRequest
impl Sync for SlackApiReactionsRemoveRequest
impl Unpin for SlackApiReactionsRemoveRequest
impl UnwindSafe for SlackApiReactionsRemoveRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)