pub struct ContextBlock {
pub elements: Vec<ContextElement>,
pub block_id: Option<String>,
/* private fields */
}Expand description
A block that shows supplementary info in small text and images. https://docs.slack.dev/reference/block-kit/blocks/context-block
Fields§
§elements: Vec<ContextElement>§block_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ContextBlock
impl Clone for ContextBlock
Source§impl Debug for ContextBlock
impl Debug for ContextBlock
Source§impl<'de> Deserialize<'de> for ContextBlock
impl<'de> Deserialize<'de> for ContextBlock
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<ContextBlock> for Block
impl From<ContextBlock> for Block
Source§fn from(value: ContextBlock) -> Self
fn from(value: ContextBlock) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContextBlock
impl PartialEq for ContextBlock
Source§impl Serialize for ContextBlock
impl Serialize for ContextBlock
impl StructuralPartialEq for ContextBlock
Auto Trait Implementations§
impl Freeze for ContextBlock
impl RefUnwindSafe for ContextBlock
impl Send for ContextBlock
impl Sync for ContextBlock
impl Unpin for ContextBlock
impl UnsafeUnpin for ContextBlock
impl UnwindSafe for ContextBlock
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