pub struct SubmitInteractiveDialogRequest {
pub url: String,
pub channel_id: String,
pub team_id: String,
pub submission: Value,
pub callback_id: Option<String>,
pub state: Option<String>,
pub cancelled: Option<bool>,
}
Fields§
§url: String
The URL to send the submitted dialog payload to
channel_id: String
Channel ID the user submitted the dialog from
team_id: String
Team ID the user submitted the dialog from
submission: Value
String map where keys are element names and values are the element input values
callback_id: Option<String>
Callback ID sent when the dialog was opened
state: Option<String>
State sent when the dialog was opened
cancelled: Option<bool>
Set to true if the dialog was cancelled
Implementations§
Trait Implementations§
Source§impl Clone for SubmitInteractiveDialogRequest
impl Clone for SubmitInteractiveDialogRequest
Source§fn clone(&self) -> SubmitInteractiveDialogRequest
fn clone(&self) -> SubmitInteractiveDialogRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for SubmitInteractiveDialogRequest
impl Default for SubmitInteractiveDialogRequest
Source§fn default() -> SubmitInteractiveDialogRequest
fn default() -> SubmitInteractiveDialogRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubmitInteractiveDialogRequest
impl<'de> Deserialize<'de> for SubmitInteractiveDialogRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SubmitInteractiveDialogRequest
impl PartialEq for SubmitInteractiveDialogRequest
Source§fn eq(&self, other: &SubmitInteractiveDialogRequest) -> bool
fn eq(&self, other: &SubmitInteractiveDialogRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SubmitInteractiveDialogRequest
Auto Trait Implementations§
impl Freeze for SubmitInteractiveDialogRequest
impl RefUnwindSafe for SubmitInteractiveDialogRequest
impl Send for SubmitInteractiveDialogRequest
impl Sync for SubmitInteractiveDialogRequest
impl Unpin for SubmitInteractiveDialogRequest
impl UnwindSafe for SubmitInteractiveDialogRequest
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