pub struct SlackInteractionBlockSuggestionEventInit {
pub team: SlackBasicTeamInfo,
pub user: SlackBasicUserInfo,
pub api_app_id: SlackAppId,
pub block_id: SlackBlockId,
pub action_id: SlackActionId,
pub container: SlackInteractionActionContainer,
pub value: String,
}Expand description
Required fields of SlackInteractionBlockSuggestionEvent; convert with SlackInteractionBlockSuggestionEvent::from or .into().
Fields§
§team: SlackBasicTeamInfoValue for the team field of SlackInteractionBlockSuggestionEvent.
user: SlackBasicUserInfoValue for the user field of SlackInteractionBlockSuggestionEvent.
api_app_id: SlackAppIdValue for the api_app_id field of SlackInteractionBlockSuggestionEvent.
block_id: SlackBlockIdValue for the block_id field of SlackInteractionBlockSuggestionEvent.
action_id: SlackActionIdValue for the action_id field of SlackInteractionBlockSuggestionEvent.
container: SlackInteractionActionContainerValue for the container field of SlackInteractionBlockSuggestionEvent.
value: StringValue for the value field of SlackInteractionBlockSuggestionEvent.
Trait Implementations§
Source§impl From<SlackInteractionBlockSuggestionEventInit> for SlackInteractionBlockSuggestionEvent
impl From<SlackInteractionBlockSuggestionEventInit> for SlackInteractionBlockSuggestionEvent
Source§fn from(value: SlackInteractionBlockSuggestionEventInit) -> Self
fn from(value: SlackInteractionBlockSuggestionEventInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackInteractionBlockSuggestionEventInit
impl RefUnwindSafe for SlackInteractionBlockSuggestionEventInit
impl Send for SlackInteractionBlockSuggestionEventInit
impl Sync for SlackInteractionBlockSuggestionEventInit
impl Unpin for SlackInteractionBlockSuggestionEventInit
impl UnsafeUnpin for SlackInteractionBlockSuggestionEventInit
impl UnwindSafe for SlackInteractionBlockSuggestionEventInit
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