Struct slack_web_api::BlockElementImage 
source · pub struct BlockElementImage {
    pub element_type: String,
    pub image_url: String,
    pub alt_text: String,
}Expand description
https://api.slack.com/reference/block-kit/block-elements#image
Fields§
§element_type: String§image_url: String§alt_text: StringTrait Implementations§
source§impl Clone for BlockElementImage
 
impl Clone for BlockElementImage
source§fn clone(&self) -> BlockElementImage
 
fn clone(&self) -> BlockElementImage
Returns a copy 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 Debug for BlockElementImage
 
impl Debug for BlockElementImage
source§impl Default for BlockElementImage
 
impl Default for BlockElementImage
source§impl<'de> Deserialize<'de> for BlockElementImage
 
impl<'de> Deserialize<'de> for BlockElementImage
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.
Auto Trait Implementations§
impl RefUnwindSafe for BlockElementImage
impl Send for BlockElementImage
impl Sync for BlockElementImage
impl Unpin for BlockElementImage
impl UnwindSafe for BlockElementImage
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