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
pub fn new( channel_id: SlackChannelId, thread_ts: SlackTs, title: String, ) -> Self
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel_id(self, value: SlackChannelId) -> Self
pub fn thread_ts(&mut self, value: SlackTs) -> &mut Self
pub fn with_thread_ts(self, value: SlackTs) -> Self
pub fn title(&mut self, value: String) -> &mut Self
pub fn with_title(self, value: String) -> Self
Trait Implementations§
Source§impl Clone for SlackApiAssistantThreadSetTitleRequest
impl Clone for SlackApiAssistantThreadSetTitleRequest
Source§fn clone(&self) -> SlackApiAssistantThreadSetTitleRequest
fn clone(&self) -> SlackApiAssistantThreadSetTitleRequest
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 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.
Source§impl PartialEq for SlackApiAssistantThreadSetTitleRequest
impl PartialEq for SlackApiAssistantThreadSetTitleRequest
Source§fn eq(&self, other: &SlackApiAssistantThreadSetTitleRequest) -> bool
fn eq(&self, other: &SlackApiAssistantThreadSetTitleRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.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 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