#[non_exhaustive]pub struct ChatMeMessageRequest {
pub channel: String,
pub text: String,
}Expand description
Arguments for the Slack Web API method chat.meMessage: Share a me message into a channel.
Send it with SlackClient::chat_me_message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.channel: StringChannel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name.
text: StringText of the message to send.
Implementations§
Trait Implementations§
Source§impl Clone for ChatMeMessageRequest
impl Clone for ChatMeMessageRequest
Source§impl Debug for ChatMeMessageRequest
impl Debug for ChatMeMessageRequest
Source§impl PartialEq for ChatMeMessageRequest
impl PartialEq for ChatMeMessageRequest
Source§impl Serialize for ChatMeMessageRequest
impl Serialize for ChatMeMessageRequest
impl StructuralPartialEq for ChatMeMessageRequest
Auto Trait Implementations§
impl Freeze for ChatMeMessageRequest
impl RefUnwindSafe for ChatMeMessageRequest
impl Send for ChatMeMessageRequest
impl Sync for ChatMeMessageRequest
impl Unpin for ChatMeMessageRequest
impl UnsafeUnpin for ChatMeMessageRequest
impl UnwindSafe for ChatMeMessageRequest
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