pub struct SlackApiChatStopStreamResponse {
pub channel: SlackChannelId,
pub ts: SlackTs,
pub message: Option<SlackMessage>,
}Fields§
§channel: SlackChannelId§ts: SlackTs§message: Option<SlackMessage>Implementations§
Source§impl SlackApiChatStopStreamResponse
impl SlackApiChatStopStreamResponse
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 message(&mut self, value: SlackMessage) -> &mut Self
pub fn reset_message(&mut self) -> &mut Self
pub fn mopt_message(&mut self, value: Option<SlackMessage>) -> &mut Self
pub fn with_message(self, value: SlackMessage) -> Self
pub fn without_message(self) -> Self
pub fn opt_message(self, value: Option<SlackMessage>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiChatStopStreamResponse
impl Clone for SlackApiChatStopStreamResponse
Source§fn clone(&self) -> SlackApiChatStopStreamResponse
fn clone(&self) -> SlackApiChatStopStreamResponse
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 SlackApiChatStopStreamResponse
impl<'de> Deserialize<'de> for SlackApiChatStopStreamResponse
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<SlackApiChatStopStreamResponseInit> for SlackApiChatStopStreamResponse
impl From<SlackApiChatStopStreamResponseInit> for SlackApiChatStopStreamResponse
Source§fn from(value: SlackApiChatStopStreamResponseInit) -> Self
fn from(value: SlackApiChatStopStreamResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiChatStopStreamResponse
Auto Trait Implementations§
impl Freeze for SlackApiChatStopStreamResponse
impl RefUnwindSafe for SlackApiChatStopStreamResponse
impl Send for SlackApiChatStopStreamResponse
impl Sync for SlackApiChatStopStreamResponse
impl Unpin for SlackApiChatStopStreamResponse
impl UnsafeUnpin for SlackApiChatStopStreamResponse
impl UnwindSafe for SlackApiChatStopStreamResponse
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