pub enum SlackBlockContentFieldElement {
Image(BlockElementImage),
Text(CompositionObjectText),
}Variants§
Image(BlockElementImage)
Text(CompositionObjectText)
Trait Implementations§
Source§impl Clone for SlackBlockContentFieldElement
impl Clone for SlackBlockContentFieldElement
Source§fn clone(&self) -> SlackBlockContentFieldElement
fn clone(&self) -> SlackBlockContentFieldElement
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<'de> Deserialize<'de> for SlackBlockContentFieldElement
impl<'de> Deserialize<'de> for SlackBlockContentFieldElement
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<BlockElementImage> for SlackBlockContentFieldElement
impl From<BlockElementImage> for SlackBlockContentFieldElement
Source§fn from(value: BlockElementImage) -> Self
fn from(value: BlockElementImage) -> Self
Converts to this type from the input type.
Source§impl From<CompositionObjectText> for SlackBlockContentFieldElement
impl From<CompositionObjectText> for SlackBlockContentFieldElement
Source§fn from(value: CompositionObjectText) -> Self
fn from(value: CompositionObjectText) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackBlockContentFieldElement
impl RefUnwindSafe for SlackBlockContentFieldElement
impl Send for SlackBlockContentFieldElement
impl Sync for SlackBlockContentFieldElement
impl Unpin for SlackBlockContentFieldElement
impl UnwindSafe for SlackBlockContentFieldElement
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