pub struct SlackBlockImageElement {
pub image_url: String,
pub alt_text: String,
}
Fields§
§image_url: String
§alt_text: String
Implementations§
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 for SlackBlockImageElement
impl PartialEq for SlackBlockImageElement
Source§impl Serialize for SlackBlockImageElement
impl Serialize for SlackBlockImageElement
impl StructuralPartialEq for SlackBlockImageElement
Auto Trait Implementations§
impl Freeze for SlackBlockImageElement
impl RefUnwindSafe for SlackBlockImageElement
impl Send for SlackBlockImageElement
impl Sync for SlackBlockImageElement
impl Unpin for SlackBlockImageElement
impl UnwindSafe for SlackBlockImageElement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)