pub struct SlackApiChatDeleteScheduledMessageRequest {
pub channel: SlackChannelId,
pub scheduled_message: SlackScheduledMid,
pub as_user: Option<bool>,
}
Fields§
§channel: SlackChannelId
§scheduled_message: SlackScheduledMid
§as_user: Option<bool>
Implementations§
Source§impl SlackApiChatDeleteScheduledMessageRequest
impl SlackApiChatDeleteScheduledMessageRequest
pub fn new( channel: SlackChannelId, scheduled_message: SlackScheduledMid, ) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn scheduled_message(&mut self, value: SlackScheduledMid) -> &mut Self
pub fn with_scheduled_message(self, value: SlackScheduledMid) -> Self
pub fn as_user(&mut self, value: bool) -> &mut Self
pub fn reset_as_user(&mut self) -> &mut Self
pub fn mopt_as_user(&mut self, value: Option<bool>) -> &mut Self
pub fn with_as_user(self, value: bool) -> Self
pub fn without_as_user(self) -> Self
pub fn opt_as_user(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiChatDeleteScheduledMessageRequest
impl Clone for SlackApiChatDeleteScheduledMessageRequest
Source§fn clone(&self) -> SlackApiChatDeleteScheduledMessageRequest
fn clone(&self) -> SlackApiChatDeleteScheduledMessageRequest
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 SlackApiChatDeleteScheduledMessageRequest
impl<'de> Deserialize<'de> for SlackApiChatDeleteScheduledMessageRequest
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<SlackApiChatDeleteScheduledMessageRequestInit> for SlackApiChatDeleteScheduledMessageRequest
impl From<SlackApiChatDeleteScheduledMessageRequestInit> for SlackApiChatDeleteScheduledMessageRequest
Source§fn from(value: SlackApiChatDeleteScheduledMessageRequestInit) -> Self
fn from(value: SlackApiChatDeleteScheduledMessageRequestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiChatDeleteScheduledMessageRequest
impl PartialEq for SlackApiChatDeleteScheduledMessageRequest
Source§fn eq(&self, other: &SlackApiChatDeleteScheduledMessageRequest) -> bool
fn eq(&self, other: &SlackApiChatDeleteScheduledMessageRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackApiChatDeleteScheduledMessageRequest
Auto Trait Implementations§
impl Freeze for SlackApiChatDeleteScheduledMessageRequest
impl RefUnwindSafe for SlackApiChatDeleteScheduledMessageRequest
impl Send for SlackApiChatDeleteScheduledMessageRequest
impl Sync for SlackApiChatDeleteScheduledMessageRequest
impl Unpin for SlackApiChatDeleteScheduledMessageRequest
impl UnwindSafe for SlackApiChatDeleteScheduledMessageRequest
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
)