pub struct CarouselBlock {
pub elements: Vec<CardBlock>,
pub block_id: Option<String>,
/* private fields */
}Expand description
A horizontally scrolling row of cards. https://docs.slack.dev/reference/block-kit/blocks/carousel-block
Fields§
§elements: Vec<CardBlock>§block_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for CarouselBlock
impl Clone for CarouselBlock
Source§impl Debug for CarouselBlock
impl Debug for CarouselBlock
Source§impl<'de> Deserialize<'de> for CarouselBlock
impl<'de> Deserialize<'de> for CarouselBlock
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<CarouselBlock> for Block
impl From<CarouselBlock> for Block
Source§fn from(value: CarouselBlock) -> Self
fn from(value: CarouselBlock) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CarouselBlock
impl PartialEq for CarouselBlock
Source§impl Serialize for CarouselBlock
impl Serialize for CarouselBlock
impl StructuralPartialEq for CarouselBlock
Auto Trait Implementations§
impl Freeze for CarouselBlock
impl RefUnwindSafe for CarouselBlock
impl Send for CarouselBlock
impl Sync for CarouselBlock
impl Unpin for CarouselBlock
impl UnsafeUnpin for CarouselBlock
impl UnwindSafe for CarouselBlock
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