pub struct SlackModalViewInit {
pub title: SlackBlockPlainTextOnly,
pub blocks: Vec<SlackBlock>,
}Expand description
Required fields of SlackModalView; convert with SlackModalView::from or .into().
Fields§
§title: SlackBlockPlainTextOnlyValue for the title field of SlackModalView.
blocks: Vec<SlackBlock>Value for the blocks field of SlackModalView.
Trait Implementations§
Source§impl From<SlackModalViewInit> for SlackModalView
impl From<SlackModalViewInit> for SlackModalView
Source§fn from(value: SlackModalViewInit) -> Self
fn from(value: SlackModalViewInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackModalViewInit
impl RefUnwindSafe for SlackModalViewInit
impl Send for SlackModalViewInit
impl Sync for SlackModalViewInit
impl Unpin for SlackModalViewInit
impl UnsafeUnpin for SlackModalViewInit
impl UnwindSafe for SlackModalViewInit
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