pub struct SlackApiChatAppendStreamRequest {
pub channel: SlackChannelId,
pub ts: SlackTs,
pub markdown_text: Option<String>,
pub chunks: Option<Vec<SlackStreamChunk>>,
}Fields§
§channel: SlackChannelId§ts: SlackTs§markdown_text: Option<String>§chunks: Option<Vec<SlackStreamChunk>>Implementations§
Source§impl SlackApiChatAppendStreamRequest
impl SlackApiChatAppendStreamRequest
pub fn new(channel: SlackChannelId, ts: SlackTs) -> 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 markdown_text(&mut self, value: String) -> &mut Self
pub fn reset_markdown_text(&mut self) -> &mut Self
pub fn mopt_markdown_text(&mut self, value: Option<String>) -> &mut Self
pub fn with_markdown_text(self, value: String) -> Self
pub fn without_markdown_text(self) -> Self
pub fn opt_markdown_text(self, value: Option<String>) -> 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
Trait Implementations§
Source§impl Clone for SlackApiChatAppendStreamRequest
impl Clone for SlackApiChatAppendStreamRequest
Source§fn clone(&self) -> SlackApiChatAppendStreamRequest
fn clone(&self) -> SlackApiChatAppendStreamRequest
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 SlackApiChatAppendStreamRequest
impl<'de> Deserialize<'de> for SlackApiChatAppendStreamRequest
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<SlackApiChatAppendStreamRequestInit> for SlackApiChatAppendStreamRequest
impl From<SlackApiChatAppendStreamRequestInit> for SlackApiChatAppendStreamRequest
Source§fn from(value: SlackApiChatAppendStreamRequestInit) -> Self
fn from(value: SlackApiChatAppendStreamRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiChatAppendStreamRequest
Auto Trait Implementations§
impl Freeze for SlackApiChatAppendStreamRequest
impl RefUnwindSafe for SlackApiChatAppendStreamRequest
impl Send for SlackApiChatAppendStreamRequest
impl Sync for SlackApiChatAppendStreamRequest
impl Unpin for SlackApiChatAppendStreamRequest
impl UnsafeUnpin for SlackApiChatAppendStreamRequest
impl UnwindSafe for SlackApiChatAppendStreamRequest
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