Struct slack_morphism::blocks::SlackBlockImageElement
source · pub struct SlackBlockImageElement {
pub image_url: String,
pub alt_text: String,
}Fields§
§image_url: String§alt_text: StringImplementations§
Trait Implementations§
source§impl Clone for SlackBlockImageElement
impl Clone for SlackBlockImageElement
source§fn clone(&self) -> SlackBlockImageElement
fn clone(&self) -> SlackBlockImageElement
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 SlackBlockImageElement
impl Debug for SlackBlockImageElement
source§impl<'de> Deserialize<'de> for SlackBlockImageElement
impl<'de> Deserialize<'de> for SlackBlockImageElement
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<SlackBlockImageElement> for SlackContextBlockElement
impl From<SlackBlockImageElement> for SlackContextBlockElement
source§fn from(element: SlackBlockImageElement) -> Self
fn from(element: SlackBlockImageElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockImageElement> for SlackSectionBlockElement
impl From<SlackBlockImageElement> for SlackSectionBlockElement
source§fn from(element: SlackBlockImageElement) -> Self
fn from(element: SlackBlockImageElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockImageElementInit> for SlackBlockImageElement
impl From<SlackBlockImageElementInit> for SlackBlockImageElement
source§fn from(value: SlackBlockImageElementInit) -> Self
fn from(value: SlackBlockImageElementInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<SlackBlockImageElement> for SlackBlockImageElement
impl PartialEq<SlackBlockImageElement> for SlackBlockImageElement
source§fn eq(&self, other: &SlackBlockImageElement) -> bool
fn eq(&self, other: &SlackBlockImageElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.