pub enum ActionCellFallback {
RawText(RawTextCell),
RawNumber(RawNumberCell),
Unknown(Value),
}Expand description
The cell shown instead of the button on clients that do not support action cells. https://docs.slack.dev/reference/block-kit/blocks/data-table-block
Variants§
RawText(RawTextCell)
RawNumber(RawNumberCell)
Unknown(Value)
A kind this crate does not know. Keeps the received JSON and writes it back unchanged.
Trait Implementations§
Source§impl Clone for ActionCellFallback
impl Clone for ActionCellFallback
Source§impl Debug for ActionCellFallback
impl Debug for ActionCellFallback
Source§impl<'de> Deserialize<'de> for ActionCellFallback
impl<'de> Deserialize<'de> for ActionCellFallback
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<RawNumberCell> for ActionCellFallback
impl From<RawNumberCell> for ActionCellFallback
Source§fn from(value: RawNumberCell) -> Self
fn from(value: RawNumberCell) -> Self
Converts to this type from the input type.
Source§impl From<RawTextCell> for ActionCellFallback
impl From<RawTextCell> for ActionCellFallback
Source§fn from(value: RawTextCell) -> Self
fn from(value: RawTextCell) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionCellFallback
impl PartialEq for ActionCellFallback
Source§impl Serialize for ActionCellFallback
impl Serialize for ActionCellFallback
impl StructuralPartialEq for ActionCellFallback
Auto Trait Implementations§
impl Freeze for ActionCellFallback
impl RefUnwindSafe for ActionCellFallback
impl Send for ActionCellFallback
impl Sync for ActionCellFallback
impl Unpin for ActionCellFallback
impl UnsafeUnpin for ActionCellFallback
impl UnwindSafe for ActionCellFallback
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