Struct slack_morphism::prelude::blocks::SlackBlockImageElementInit
source · pub struct SlackBlockImageElementInit {
pub image_url: String,
pub alt_text: String,
}
Fields§
§image_url: String
§alt_text: String
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 RefUnwindSafe for SlackBlockImageElementInit
impl Send for SlackBlockImageElementInit
impl Sync for SlackBlockImageElementInit
impl Unpin 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