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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackApiChatDeleteScheduledMessageRequest
Auto Trait Implementations§
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