pub struct SlackMessageInit {
pub origin: SlackMessageOrigin,
pub content: SlackMessageContent,
pub sender: SlackMessageSender,
pub parent: SlackParentMessageParams,
}Expand description
Required fields of SlackMessage; convert with SlackMessage::from or .into().
Fields§
§origin: SlackMessageOriginValue for the origin field of SlackMessage.
content: SlackMessageContentValue for the content field of SlackMessage.
sender: SlackMessageSenderValue for the sender field of SlackMessage.
parent: SlackParentMessageParamsValue for the parent field of SlackMessage.
Trait Implementations§
Source§impl From<SlackMessageInit> for SlackMessage
impl From<SlackMessageInit> for SlackMessage
Source§fn from(value: SlackMessageInit) -> Self
fn from(value: SlackMessageInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackMessageInit
impl RefUnwindSafe for SlackMessageInit
impl Send for SlackMessageInit
impl Sync for SlackMessageInit
impl Unpin for SlackMessageInit
impl UnsafeUnpin for SlackMessageInit
impl UnwindSafe for SlackMessageInit
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