pub struct SlackApiChatStopStreamRequest {
pub channel: SlackChannelId,
pub ts: SlackTs,
pub content: SlackMessageContent,
pub chunks: Option<Vec<SlackStreamChunk>>,
pub session_status: Option<SlackAgentSessionStatus>,
}Fields§
§channel: SlackChannelId§ts: SlackTs§content: SlackMessageContent§chunks: Option<Vec<SlackStreamChunk>>§session_status: Option<SlackAgentSessionStatus>Implementations§
Source§impl SlackApiChatStopStreamRequest
impl SlackApiChatStopStreamRequest
pub fn new( channel: SlackChannelId, ts: SlackTs, content: SlackMessageContent, ) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn ts(&mut self, value: SlackTs) -> &mut Self
pub fn with_ts(self, value: SlackTs) -> Self
pub fn content(&mut self, value: SlackMessageContent) -> &mut Self
pub fn with_content(self, value: SlackMessageContent) -> Self
pub fn chunks(&mut self, value: Vec<SlackStreamChunk>) -> &mut Self
pub fn reset_chunks(&mut self) -> &mut Self
pub fn mopt_chunks(&mut self, value: Option<Vec<SlackStreamChunk>>) -> &mut Self
pub fn with_chunks(self, value: Vec<SlackStreamChunk>) -> Self
pub fn without_chunks(self) -> Self
pub fn opt_chunks(self, value: Option<Vec<SlackStreamChunk>>) -> Self
pub fn session_status(&mut self, value: SlackAgentSessionStatus) -> &mut Self
pub fn reset_session_status(&mut self) -> &mut Self
pub fn mopt_session_status( &mut self, value: Option<SlackAgentSessionStatus>, ) -> &mut Self
pub fn with_session_status(self, value: SlackAgentSessionStatus) -> Self
pub fn without_session_status(self) -> Self
pub fn opt_session_status(self, value: Option<SlackAgentSessionStatus>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiChatStopStreamRequest
impl Clone for SlackApiChatStopStreamRequest
Source§fn clone(&self) -> SlackApiChatStopStreamRequest
fn clone(&self) -> SlackApiChatStopStreamRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackApiChatStopStreamRequest
impl<'de> Deserialize<'de> for SlackApiChatStopStreamRequest
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<SlackApiChatStopStreamRequestInit> for SlackApiChatStopStreamRequest
impl From<SlackApiChatStopStreamRequestInit> for SlackApiChatStopStreamRequest
Source§fn from(value: SlackApiChatStopStreamRequestInit) -> Self
fn from(value: SlackApiChatStopStreamRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiChatStopStreamRequest
Auto Trait Implementations§
impl Freeze for SlackApiChatStopStreamRequest
impl RefUnwindSafe for SlackApiChatStopStreamRequest
impl Send for SlackApiChatStopStreamRequest
impl Sync for SlackApiChatStopStreamRequest
impl Unpin for SlackApiChatStopStreamRequest
impl UnsafeUnpin for SlackApiChatStopStreamRequest
impl UnwindSafe for SlackApiChatStopStreamRequest
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