pub struct SlackApiAssistantThreadsSetStatusRequest {
pub channel_id: SlackChannelId,
pub status: String,
pub thread_ts: SlackTs,
}Fields§
§channel_id: SlackChannelId§status: String§thread_ts: SlackTsImplementations§
Source§impl SlackApiAssistantThreadsSetStatusRequest
impl SlackApiAssistantThreadsSetStatusRequest
pub fn new( channel_id: SlackChannelId, status: String, thread_ts: SlackTs, ) -> Self
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel_id(self, value: SlackChannelId) -> Self
pub fn status(&mut self, value: String) -> &mut Self
pub fn with_status(self, value: String) -> Self
pub fn thread_ts(&mut self, value: SlackTs) -> &mut Self
pub fn with_thread_ts(self, value: SlackTs) -> Self
Trait Implementations§
Source§impl Clone for SlackApiAssistantThreadsSetStatusRequest
impl Clone for SlackApiAssistantThreadsSetStatusRequest
Source§fn clone(&self) -> SlackApiAssistantThreadsSetStatusRequest
fn clone(&self) -> SlackApiAssistantThreadsSetStatusRequest
Returns a duplicate 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 SlackApiAssistantThreadsSetStatusRequest
impl<'de> Deserialize<'de> for SlackApiAssistantThreadsSetStatusRequest
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<SlackApiAssistantThreadsSetStatusRequestInit> for SlackApiAssistantThreadsSetStatusRequest
impl From<SlackApiAssistantThreadsSetStatusRequestInit> for SlackApiAssistantThreadsSetStatusRequest
Source§fn from(value: SlackApiAssistantThreadsSetStatusRequestInit) -> Self
fn from(value: SlackApiAssistantThreadsSetStatusRequestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiAssistantThreadsSetStatusRequest
impl PartialEq for SlackApiAssistantThreadsSetStatusRequest
Source§fn eq(&self, other: &SlackApiAssistantThreadsSetStatusRequest) -> bool
fn eq(&self, other: &SlackApiAssistantThreadsSetStatusRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlackApiAssistantThreadsSetStatusRequest
Auto Trait Implementations§
impl Freeze for SlackApiAssistantThreadsSetStatusRequest
impl RefUnwindSafe for SlackApiAssistantThreadsSetStatusRequest
impl Send for SlackApiAssistantThreadsSetStatusRequest
impl Sync for SlackApiAssistantThreadsSetStatusRequest
impl Unpin for SlackApiAssistantThreadsSetStatusRequest
impl UnwindSafe for SlackApiAssistantThreadsSetStatusRequest
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