pub struct SlackBlockImageElementInit {
pub image_url_or_file: SlackImageUrlOrFile,
pub alt_text: String,
}Expand description
Required fields of SlackBlockImageElement; convert with SlackBlockImageElement::from or .into().
Fields§
§image_url_or_file: SlackImageUrlOrFileValue for the image_url_or_file field of SlackBlockImageElement.
alt_text: StringValue for the alt_text field of SlackBlockImageElement.
Trait Implementations§
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.
Auto Trait Implementations§
impl Freeze for SlackBlockImageElementInit
impl RefUnwindSafe for SlackBlockImageElementInit
impl Send for SlackBlockImageElementInit
impl Sync for SlackBlockImageElementInit
impl Unpin for SlackBlockImageElementInit
impl UnsafeUnpin for SlackBlockImageElementInit
impl UnwindSafe for SlackBlockImageElementInit
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