pub struct SlackAssistantThread {
pub user_id: SlackUserId,
pub context: SlackAssistantThreadContext,
pub channel_id: SlackChannelId,
pub thread_ts: SlackTs,
}Fields§
§user_id: SlackUserId§context: SlackAssistantThreadContext§channel_id: SlackChannelId§thread_ts: SlackTsImplementations§
Source§impl SlackAssistantThread
impl SlackAssistantThread
pub fn new( user_id: SlackUserId, context: SlackAssistantThreadContext, channel_id: SlackChannelId, thread_ts: SlackTs, ) -> Self
pub fn user_id(&mut self, value: SlackUserId) -> &mut Self
pub fn with_user_id(self, value: SlackUserId) -> Self
pub fn context(&mut self, value: SlackAssistantThreadContext) -> &mut Self
pub fn with_context(self, value: SlackAssistantThreadContext) -> 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
Trait Implementations§
Source§impl Clone for SlackAssistantThread
impl Clone for SlackAssistantThread
Source§fn clone(&self) -> SlackAssistantThread
fn clone(&self) -> SlackAssistantThread
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 Debug for SlackAssistantThread
impl Debug for SlackAssistantThread
Source§impl<'de> Deserialize<'de> for SlackAssistantThread
impl<'de> Deserialize<'de> for SlackAssistantThread
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<SlackAssistantThreadInit> for SlackAssistantThread
impl From<SlackAssistantThreadInit> for SlackAssistantThread
Source§fn from(value: SlackAssistantThreadInit) -> Self
fn from(value: SlackAssistantThreadInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAssistantThread
impl PartialEq for SlackAssistantThread
Source§impl Serialize for SlackAssistantThread
impl Serialize for SlackAssistantThread
impl StructuralPartialEq for SlackAssistantThread
Auto Trait Implementations§
impl Freeze for SlackAssistantThread
impl RefUnwindSafe for SlackAssistantThread
impl Send for SlackAssistantThread
impl Sync for SlackAssistantThread
impl Unpin for SlackAssistantThread
impl UnwindSafe for SlackAssistantThread
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