#[non_exhaustive]pub struct DialogOpenRequest {
pub dialog: String,
pub trigger_id: String,
}Expand description
Arguments for the Slack Web API method dialog.open: Open a dialog with a user
Send it with SlackClient::dialog_open.
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.dialog: StringThe dialog definition. This must be a JSON-encoded string.
trigger_id: StringExchange a trigger to post to the user.
Implementations§
Trait Implementations§
Source§impl Clone for DialogOpenRequest
impl Clone for DialogOpenRequest
Source§impl Debug for DialogOpenRequest
impl Debug for DialogOpenRequest
Source§impl PartialEq for DialogOpenRequest
impl PartialEq for DialogOpenRequest
Source§impl Serialize for DialogOpenRequest
impl Serialize for DialogOpenRequest
Source§impl SlackApiMethod for DialogOpenRequest
impl SlackApiMethod for DialogOpenRequest
impl StructuralPartialEq for DialogOpenRequest
Auto Trait Implementations§
impl Freeze for DialogOpenRequest
impl RefUnwindSafe for DialogOpenRequest
impl Send for DialogOpenRequest
impl Sync for DialogOpenRequest
impl Unpin for DialogOpenRequest
impl UnsafeUnpin for DialogOpenRequest
impl UnwindSafe for DialogOpenRequest
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