pub struct ActionCell {
pub element: Box<ButtonElement>,
pub fallback: Option<ActionCellFallback>,
/* private fields */
}Expand description
A cell holding a button (data table blocks only). https://docs.slack.dev/reference/block-kit/blocks/data-table-block
Fields§
§element: Box<ButtonElement>§fallback: Option<ActionCellFallback>Implementations§
Source§impl ActionCell
impl ActionCell
pub fn new(element: ButtonElement) -> Self
pub fn fallback(self, fallback: impl Into<ActionCellFallback>) -> Self
Trait Implementations§
Source§impl Clone for ActionCell
impl Clone for ActionCell
Source§impl Debug for ActionCell
impl Debug for ActionCell
Source§impl<'de> Deserialize<'de> for ActionCell
impl<'de> Deserialize<'de> for ActionCell
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 From<ActionCell> for DataTableCell
impl From<ActionCell> for DataTableCell
Source§fn from(value: ActionCell) -> Self
fn from(value: ActionCell) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionCell
impl PartialEq for ActionCell
Source§impl Serialize for ActionCell
impl Serialize for ActionCell
impl StructuralPartialEq for ActionCell
Auto Trait Implementations§
impl Freeze for ActionCell
impl RefUnwindSafe for ActionCell
impl Send for ActionCell
impl Sync for ActionCell
impl Unpin for ActionCell
impl UnsafeUnpin for ActionCell
impl UnwindSafe for ActionCell
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