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