pub struct OpenInteractiveDialogRequestDialog {
pub callback_id: Option<String>,
pub title: String,
pub introduction_text: Option<String>,
pub elements: Vec<Value>,
pub submit_label: Option<String>,
pub notify_on_cancel: Option<bool>,
pub state: Option<String>,
}
Expand description
OpenInteractiveDialogRequestDialog : Post object to create
Fields§
§callback_id: Option<String>
Set an ID that will be included when the dialog is submitted
title: String
Title of the dialog
introduction_text: Option<String>
Markdown formatted introductory paragraph
elements: Vec<Value>
Input elements, see https://docs.mattermost.com/developer/interactive-dialogs.html#elements
submit_label: Option<String>
Label on the submit button
notify_on_cancel: Option<bool>
Set true to receive payloads when user cancels a dialog
state: Option<String>
Set some state to be echoed back with the dialog submission
Implementations§
Trait Implementations§
Source§impl Clone for OpenInteractiveDialogRequestDialog
impl Clone for OpenInteractiveDialogRequestDialog
Source§fn clone(&self) -> OpenInteractiveDialogRequestDialog
fn clone(&self) -> OpenInteractiveDialogRequestDialog
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 OpenInteractiveDialogRequestDialog
impl Default for OpenInteractiveDialogRequestDialog
Source§fn default() -> OpenInteractiveDialogRequestDialog
fn default() -> OpenInteractiveDialogRequestDialog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenInteractiveDialogRequestDialog
impl<'de> Deserialize<'de> for OpenInteractiveDialogRequestDialog
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 OpenInteractiveDialogRequestDialog
impl PartialEq for OpenInteractiveDialogRequestDialog
Source§fn eq(&self, other: &OpenInteractiveDialogRequestDialog) -> bool
fn eq(&self, other: &OpenInteractiveDialogRequestDialog) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OpenInteractiveDialogRequestDialog
Auto Trait Implementations§
impl Freeze for OpenInteractiveDialogRequestDialog
impl RefUnwindSafe for OpenInteractiveDialogRequestDialog
impl Send for OpenInteractiveDialogRequestDialog
impl Sync for OpenInteractiveDialogRequestDialog
impl Unpin for OpenInteractiveDialogRequestDialog
impl UnwindSafe for OpenInteractiveDialogRequestDialog
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