Struct slack_morphism::prelude::SlackImageBlockInit
source · pub struct SlackImageBlockInit {
pub image_url: Url,
pub alt_text: String,
}
Fields§
§image_url: Url
§alt_text: String
Trait Implementations§
source§impl From<SlackImageBlockInit> for SlackImageBlock
impl From<SlackImageBlockInit> for SlackImageBlock
source§fn from(value: SlackImageBlockInit) -> Self
fn from(value: SlackImageBlockInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SlackImageBlockInit
impl Send for SlackImageBlockInit
impl Sync for SlackImageBlockInit
impl Unpin for SlackImageBlockInit
impl UnwindSafe for SlackImageBlockInit
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