pub struct ActionCardButton {
pub title: String,
pub action_url: String,
}Expand description
Public webhook and enterprise request/response helper types.
Re-exported webhook message helper types.
Multi-button actionCard button item.
Fields§
§title: StringButton title.
action_url: StringRedirect URL after clicking the button.
Implementations§
Trait Implementations§
Source§impl Clone for ActionCardButton
impl Clone for ActionCardButton
Source§fn clone(&self) -> ActionCardButton
fn clone(&self) -> ActionCardButton
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionCardButton
impl Debug for ActionCardButton
Auto Trait Implementations§
impl Freeze for ActionCardButton
impl RefUnwindSafe for ActionCardButton
impl Send for ActionCardButton
impl Sync for ActionCardButton
impl Unpin for ActionCardButton
impl UnsafeUnpin for ActionCardButton
impl UnwindSafe for ActionCardButton
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