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
Sourcepub fn new(
channel_id: SlackChannelId,
status: String,
thread_ts: SlackTs,
) -> Self
pub fn new( channel_id: SlackChannelId, status: String, thread_ts: SlackTs, ) -> Self
Creates a new SlackApiAssistantThreadsSetStatusRequest from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
Sets channel_id to value.
Sourcepub fn with_channel_id(self, value: SlackChannelId) -> Self
pub fn with_channel_id(self, value: SlackChannelId) -> Self
Returns self with channel_id set to value.
Sourcepub fn with_status(self, value: String) -> Self
pub fn with_status(self, value: String) -> Self
Returns self with status set to value.
Sourcepub fn with_thread_ts(self, value: SlackTs) -> Self
pub fn with_thread_ts(self, value: SlackTs) -> Self
Returns self with thread_ts set to value.
Trait Implementations§
Source§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.
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 UnsafeUnpin 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