pub struct SlackApiAssistantThreadSetTitleRequest {
pub channel_id: SlackChannelId,
pub thread_ts: SlackTs,
pub title: String,
}Fields§
§channel_id: SlackChannelId§thread_ts: SlackTs§title: StringImplementations§
Source§impl SlackApiAssistantThreadSetTitleRequest
impl SlackApiAssistantThreadSetTitleRequest
Sourcepub fn new(
channel_id: SlackChannelId,
thread_ts: SlackTs,
title: String,
) -> Self
pub fn new( channel_id: SlackChannelId, thread_ts: SlackTs, title: String, ) -> Self
Creates a new SlackApiAssistantThreadSetTitleRequest 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_thread_ts(self, value: SlackTs) -> Self
pub fn with_thread_ts(self, value: SlackTs) -> Self
Returns self with thread_ts set to value.
Sourcepub fn with_title(self, value: String) -> Self
pub fn with_title(self, value: String) -> Self
Returns self with title set to value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiAssistantThreadSetTitleRequest
impl<'de> Deserialize<'de> for SlackApiAssistantThreadSetTitleRequest
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<SlackApiAssistantThreadSetTitleRequestInit> for SlackApiAssistantThreadSetTitleRequest
impl From<SlackApiAssistantThreadSetTitleRequestInit> for SlackApiAssistantThreadSetTitleRequest
Source§fn from(value: SlackApiAssistantThreadSetTitleRequestInit) -> Self
fn from(value: SlackApiAssistantThreadSetTitleRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiAssistantThreadSetTitleRequest
Auto Trait Implementations§
impl Freeze for SlackApiAssistantThreadSetTitleRequest
impl RefUnwindSafe for SlackApiAssistantThreadSetTitleRequest
impl Send for SlackApiAssistantThreadSetTitleRequest
impl Sync for SlackApiAssistantThreadSetTitleRequest
impl Unpin for SlackApiAssistantThreadSetTitleRequest
impl UnsafeUnpin for SlackApiAssistantThreadSetTitleRequest
impl UnwindSafe for SlackApiAssistantThreadSetTitleRequest
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