pub struct SlackLinkSharedEventInit {
pub channel: SlackChannelId,
pub event_ts: SlackTs,
pub is_bot_user_member: bool,
pub links: Vec<SlackLinkObject>,
pub message_ts: SlackTs,
pub user: SlackUserId,
}Expand description
Required fields of SlackLinkSharedEvent; convert with SlackLinkSharedEvent::from or .into().
Fields§
§channel: SlackChannelIdValue for the channel field of SlackLinkSharedEvent.
event_ts: SlackTsValue for the event_ts field of SlackLinkSharedEvent.
is_bot_user_member: boolValue for the is_bot_user_member field of SlackLinkSharedEvent.
links: Vec<SlackLinkObject>Value for the links field of SlackLinkSharedEvent.
message_ts: SlackTsValue for the message_ts field of SlackLinkSharedEvent.
user: SlackUserIdValue for the user field of SlackLinkSharedEvent.
Trait Implementations§
Source§fn from(value: SlackLinkSharedEventInit) -> Self
fn from(value: SlackLinkSharedEventInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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