pub struct ImageBuilder { /* private fields */ }Expand description
Builder for Image object.
Implementations§
Source§impl ImageBuilder
impl ImageBuilder
Sourcepub fn get_alt_text(&self) -> Option<&String>
pub fn get_alt_text(&self) -> Option<&String>
get alt_text field value.
Sourcepub fn set_alt_text(self, value: Option<impl Into<String>>) -> Self
pub fn set_alt_text(self, value: Option<impl Into<String>>) -> Self
set alt_text field value.
Sourcepub fn get_image_url(&self) -> Option<&String>
pub fn get_image_url(&self) -> Option<&String>
get image_url field value.
Sourcepub fn set_image_url(self, value: Option<impl Into<String>>) -> Self
pub fn set_image_url(self, value: Option<impl Into<String>>) -> Self
set image_url field value.
Sourcepub fn get_slack_file(&self) -> Option<&SlackFile>
pub fn get_slack_file(&self) -> Option<&SlackFile>
get slack_file field value.
Sourcepub fn set_slack_file(self, value: Option<impl Into<SlackFile>>) -> Self
pub fn set_slack_file(self, value: Option<impl Into<SlackFile>>) -> Self
set slack_file field value.
Sourcepub fn slack_file(self, value: impl Into<SlackFile>) -> Self
pub fn slack_file(self, value: impl Into<SlackFile>) -> Self
set slack_file field value.
Trait Implementations§
Source§impl Debug for ImageBuilder
impl Debug for ImageBuilder
Auto Trait Implementations§
impl Freeze for ImageBuilder
impl RefUnwindSafe for ImageBuilder
impl Send for ImageBuilder
impl Sync for ImageBuilder
impl Unpin for ImageBuilder
impl UnsafeUnpin for ImageBuilder
impl UnwindSafe for ImageBuilder
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