[−][src]Struct block_kit::block::image::ImageBlock
Methods
impl ImageBlock
[src]
pub fn new(image_url: impl Into<String>, alt_text: impl Into<String>) -> Self
[src]
pub fn title(self, title: impl Into<PlainText>) -> Self
[src]
pub fn block_id(self, block_id: impl Into<String>) -> Self
[src]
Trait Implementations
impl Debug for ImageBlock
[src]
impl From<ImageBlock> for Block
[src]
fn from(block: ImageBlock) -> Self
[src]
impl Serialize for ImageBlock
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageBlock
impl Send for ImageBlock
impl Sync for ImageBlock
impl Unpin for ImageBlock
impl UnwindSafe for ImageBlock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,