pub struct OpenInteractiveDialogRequest {
pub trigger_id: String,
pub url: String,
pub dialog: Box<OpenInteractiveDialogRequestDialog>,
}
Fields§
§trigger_id: String
Trigger ID provided by other action
url: String
The URL to send the submitted dialog payload to
dialog: Box<OpenInteractiveDialogRequestDialog>
Implementations§
Source§impl OpenInteractiveDialogRequest
impl OpenInteractiveDialogRequest
pub fn new( trigger_id: String, url: String, dialog: OpenInteractiveDialogRequestDialog, ) -> OpenInteractiveDialogRequest
Trait Implementations§
Source§impl Clone for OpenInteractiveDialogRequest
impl Clone for OpenInteractiveDialogRequest
Source§fn clone(&self) -> OpenInteractiveDialogRequest
fn clone(&self) -> OpenInteractiveDialogRequest
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 Debug for OpenInteractiveDialogRequest
impl Debug for OpenInteractiveDialogRequest
Source§impl Default for OpenInteractiveDialogRequest
impl Default for OpenInteractiveDialogRequest
Source§fn default() -> OpenInteractiveDialogRequest
fn default() -> OpenInteractiveDialogRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenInteractiveDialogRequest
impl<'de> Deserialize<'de> for OpenInteractiveDialogRequest
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 OpenInteractiveDialogRequest
impl PartialEq for OpenInteractiveDialogRequest
Source§fn eq(&self, other: &OpenInteractiveDialogRequest) -> bool
fn eq(&self, other: &OpenInteractiveDialogRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OpenInteractiveDialogRequest
Auto Trait Implementations§
impl Freeze for OpenInteractiveDialogRequest
impl RefUnwindSafe for OpenInteractiveDialogRequest
impl Send for OpenInteractiveDialogRequest
impl Sync for OpenInteractiveDialogRequest
impl Unpin for OpenInteractiveDialogRequest
impl UnwindSafe for OpenInteractiveDialogRequest
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