pub struct SlackBlockButtonElementInit {
pub action_id: SlackActionId,
pub text: SlackBlockPlainTextOnly,
}Fields
action_id: SlackActionIdtext: SlackBlockPlainTextOnlyTrait Implementations
sourceimpl From<SlackBlockButtonElementInit> for SlackBlockButtonElement
impl From<SlackBlockButtonElementInit> for SlackBlockButtonElement
sourcefn from(value: SlackBlockButtonElementInit) -> Self
fn from(value: SlackBlockButtonElementInit) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SlackBlockButtonElementInit
impl Send for SlackBlockButtonElementInit
impl Sync for SlackBlockButtonElementInit
impl Unpin for SlackBlockButtonElementInit
impl UnwindSafe for SlackBlockButtonElementInit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more