pub struct SlackVideoBlockInit {
pub alt_text: String,
pub title: SlackBlockPlainTextOnly,
pub thumbnail_url: Url,
pub video_url: Url,
}Expand description
Required fields of SlackVideoBlock; convert with SlackVideoBlock::from or .into().
Fields§
§alt_text: StringValue for the alt_text field of SlackVideoBlock.
title: SlackBlockPlainTextOnlyValue for the title field of SlackVideoBlock.
thumbnail_url: UrlValue for the thumbnail_url field of SlackVideoBlock.
video_url: UrlValue for the video_url field of SlackVideoBlock.
Trait Implementations§
Source§impl From<SlackVideoBlockInit> for SlackVideoBlock
impl From<SlackVideoBlockInit> for SlackVideoBlock
Source§fn from(value: SlackVideoBlockInit) -> Self
fn from(value: SlackVideoBlockInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackVideoBlockInit
impl RefUnwindSafe for SlackVideoBlockInit
impl Send for SlackVideoBlockInit
impl Sync for SlackVideoBlockInit
impl Unpin for SlackVideoBlockInit
impl UnsafeUnpin for SlackVideoBlockInit
impl UnwindSafe for SlackVideoBlockInit
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