#[non_exhaustive]pub struct ViewsOpenRequest {
pub view: View,
pub trigger_id: Option<String>,
pub interactivity_pointer: Option<String>,
}Expand description
Arguments for the Slack Web API method views.open: Open a view for a user.
Send it with SlackClient::views_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.view: ViewA view payload. This must be a JSON-encoded string.
trigger_id: Option<String>Exchange a trigger to post to the user.
interactivity_pointer: Option<String>Exchange an interactivity pointer to post to the user.
Implementations§
Trait Implementations§
Source§impl Clone for ViewsOpenRequest
impl Clone for ViewsOpenRequest
Source§impl Debug for ViewsOpenRequest
impl Debug for ViewsOpenRequest
Source§impl PartialEq for ViewsOpenRequest
impl PartialEq for ViewsOpenRequest
Source§impl Serialize for ViewsOpenRequest
impl Serialize for ViewsOpenRequest
Source§impl SlackApiMethod for ViewsOpenRequest
impl SlackApiMethod for ViewsOpenRequest
impl StructuralPartialEq for ViewsOpenRequest
Auto Trait Implementations§
impl Freeze for ViewsOpenRequest
impl RefUnwindSafe for ViewsOpenRequest
impl Send for ViewsOpenRequest
impl Sync for ViewsOpenRequest
impl Unpin for ViewsOpenRequest
impl UnsafeUnpin for ViewsOpenRequest
impl UnwindSafe for ViewsOpenRequest
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